Response containing permission and role bits
name | data type | description |
---|---|---|
perm | string | Permission bits and roles |
rolePerm | string | Get the role permission bits |
|
|
|
permissionsMap | PermissionsMap | Map representation of all 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" : "...", "rolePerm" : "...", "permissionsMap" : { "permissions" : { "property1" : true, "property2" : true }, "rolePermissions" : { "page" : { "property1" : true, "property2" : true }, "pageLanguages" : { "property1" : { }, "property2" : { } }, "file" : { "property1" : true, "property2" : true } } }, "messages" : [ { }, { } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }