RolePermResponse Data Type

Response containing role permissions

Properties
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" : {
      "translatepage" : true,
      "deletepage" : true,
      "updatepage" : true,
      "createpage" : true,
      "publishpage" : true,
      "viewpage" : true
    },
    "pageLanguages" : {
      "property1" : {
        "translatepage" : true,
        "deletepage" : true,
        "updatepage" : true,
        "createpage" : true,
        "publishpage" : true,
        "viewpage" : true
      },
      "property2" : {
        "translatepage" : true,
        "deletepage" : true,
        "updatepage" : true,
        "createpage" : true,
        "publishpage" : true,
        "viewpage" : true
      }
    },
    "file" : {
      "createfile" : true,
      "deletefile" : true,
      "updatefile" : true,
      "viewfile" : true
    }
  },
  "messages" : [ { }, { } ],
  "responseInfo" : {
    "responseCode" : "OK",
    "responseMessage" : "...",
    "property" : "..."
  }
}