PermBitsResponse Data Type

Response containing permission and role bits

Properties
name data type constraints description
perm string   Permission bits and roles
rolePerm string   Get the role permission bits
messages array of Message   Messages contained in the response (which should be shown to the user)
privilegeMap PrivilegeMap   Map representation of all privileges
responseInfo ResponseInfo  
permissionsMap PermissionsMap   Map representation of all permissions
inBackground boolean required boolean Whether the job was pushed into the background.

Example

{
  "perm" : "...",
  "rolePerm" : "...",
  "messages" : [ { }, { } ],
  "responseInfo" : {
    "responseCode" : "OK",
    "responseMessage" : "...",
    "property" : "..."
  },
  "permissionsMap" : {
    "permissions" : {
      "property1" : true,
      "property2" : true
    },
    "rolePermissions" : {
      "page" : {
        "property1" : true,
        "property2" : true
      },
      "pageLanguages" : {
        "property1" : { },
        "property2" : { }
      },
      "file" : {
        "property1" : true,
        "property2" : true
      }
    }
  },
  "inBackground" : true
}