RolePermissionsModel Data Type

Model for role permissions

Properties
name data type description
page PagePrivileges Global page permissions
pageLanguages map of PagePrivileges Language specific page permissions
file FilePrivileges File permissions

Example

{
  "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
  }
}