Response containing role permissions
name | data type | description |
---|---|---|
perm | RolePermissionsModel | Role Permissions |
Properties inherited from GenericResponse |
||
messages | array of Message | Messages contained in the response (which should be shown to the user) |
responseInfo | ResponseInfo |
Example
{ "perm" : { "page" : { "viewpage" : true, "createpage" : true, "updatepage" : true, "deletepage" : true, "publishpage" : true, "translatepage" : true }, "pageLanguages" : { "property1" : { "viewpage" : true, "createpage" : true, "updatepage" : true, "deletepage" : true, "publishpage" : true, "translatepage" : true }, "property2" : { "viewpage" : true, "createpage" : true, "updatepage" : true, "deletepage" : true, "publishpage" : true, "translatepage" : true } }, "file" : { "viewfile" : true, "createfile" : true, "updatefile" : true, "deletefile" : true } }, "messages" : [ { }, { } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }