Request to change permissions on a type
name | data type | description |
---|---|---|
perms | array of TypePermissionItem | List of permissions to change |
roles | array of RoleItem | List of role assignments to change |
subGroups | boolean | True to set permissions also to subgroups, false for only the given group |
subObjects | boolean | True to set permissions also for subobjects, false for only the given object |
Example
{ "perms" : [ { "type" : "instantmessages", "label" : "...", "description" : "...", "category" : "...", "value" : true, "editable" : true }, { "type" : "updateitems", "label" : "...", "description" : "...", "category" : "...", "value" : true, "editable" : true } ], "roles" : [ { "id" : 12345, "label" : "...", "description" : "...", "value" : true }, { "id" : 12345, "label" : "...", "description" : "...", "value" : true } ], "subGroups" : true, "subObjects" : true }