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" : [ { "editable" : true, "value" : true, "category" : "...", "description" : "...", "label" : "...", "type" : "publishform" }, { "editable" : true, "value" : true, "category" : "...", "description" : "...", "label" : "...", "type" : "updategroupuser" } ], "roles" : [ { "id" : 12345, "editable" : true, "description" : "...", "value" : true, "label" : "..." }, { "id" : 12345, "editable" : true, "description" : "...", "value" : true, "label" : "..." } ], "messages" : [ { }, { } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }