setPermsRequest
Namespace: |
http://www.gentics.com/rest |
XML Schema: |
ns0.xsd |
Request to set permission bits
XML
Elements
name (type) |
min/max occurs |
description |
perm (string)
|
0/1 |
Permission bits and roles
|
groupId (int)
|
1/1 |
ID of the group
|
subGroups (boolean)
|
1/1 |
True to set permissions also to subgroups, false for only the given group
|
subObjects (boolean)
|
1/1 |
True to set permissions also for subobjects, false for only the given object
|
roleIds (int)
|
0/unbounded |
The role IDs of roles that should be set when the request is completed. All roles not mentioned are removed. If not set, no changes to the roles will be performed.
|
JSON
property |
type |
description |
perm |
perm (string)
|
Permission bits and roles
|
groupId |
groupId (int)
|
ID of the group
|
subGroups |
subGroups (boolean)
|
True to set permissions also to subgroups, false for only the given group
|
subObjects |
subObjects (boolean)
|
True to set permissions also for subobjects, false for only the given object
|
roleIds |
array of roleIds (int)
|
The role IDs of roles that should be set when the request is completed. All roles not mentioned are removed. If not set, no changes to the roles will be performed.
|