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 | |
responseInfo | ResponseInfo |
Example
{ "perms" : [ { "type" : "create", "label" : "...", "description" : "...", "category" : "...", "value" : true, "editable" : true }, { "type" : "readtasks", "label" : "...", "description" : "...", "category" : "...", "value" : true, "editable" : true } ], "roles" : [ { "id" : 12345, "label" : "...", "description" : "...", "value" : true }, { "id" : 12345, "label" : "...", "description" : "...", "value" : true } ], "messages" : [ { "fieldName" : "...", "message" : "...", "type" : "WARNING", "timestamp" : 12345, "image" : "...", "sender" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "id" : 12345 }, { "fieldName" : "...", "message" : "...", "type" : "NEUTRAL", "timestamp" : 12345, "image" : "...", "sender" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "id" : 12345 } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }