Response containing permission and role bits
| name | data type | constraints | description |
|---|---|---|---|
| perm | string | Permission bits and roles | |
| messages | array of Message | Messages contained in the response (which should be shown to the user) | |
| rolePerm | string | Get the role permission bits | |
| responseInfo | ResponseInfo | ||
| |
|
|
|
| inBackground | boolean | required boolean | Whether the job was pushed into the background. |
| permissionsMap | PermissionsMap | Map representation of all permissions |
Example
{
"perm" : "...",
"messages" : [ { }, { } ],
"rolePerm" : "...",
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"inBackground" : true,
"permissionsMap" : {
"permissions" : {
"property1" : true,
"property2" : true
},
"rolePermissions" : {
"page" : {
"property1" : true,
"property2" : true
},
"pageLanguages" : {
"property1" : { },
"property2" : { }
},
"file" : {
"property1" : true,
"property2" : true
}
}
}
}