Response containing permissions and role assignments
name | data type | description |
---|---|---|
perms | array of TypePermissionItem | Permissions |
roles | array of RoleItem | Roles |
Properties inherited from GenericResponse |
||
messages | array of Message | Messages contained in the response (which should be shown to the user) |
responseInfo | ResponseInfo |
Example
{ "perms" : [ { "type" : "publishpages", "label" : "...", "description" : "...", "category" : "...", "value" : true, "editable" : true }, { "type" : "readitems", "label" : "...", "description" : "...", "category" : "...", "value" : true, "editable" : true } ], "roles" : [ { "id" : 12345, "label" : "...", "description" : "...", "value" : true, "editable" : true }, { "id" : 12345, "label" : "...", "description" : "...", "value" : true, "editable" : true } ], "messages" : [ { }, { } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }