PermBitsResponse Data Type

Response containing permission and role bits

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