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" : {
    "viewpage" : true,
    "createpage" : true,
    "updatepage" : true,
    "deletepage" : true,
    "publishpage" : true,
    "translatepage" : true
  },
  "pageLanguages" : {
    "property1" : {
      "viewpage" : true,
      "createpage" : true,
      "updatepage" : true,
      "deletepage" : true,
      "publishpage" : true,
      "translatepage" : true
    },
    "property2" : {
      "viewpage" : true,
      "createpage" : true,
      "updatepage" : true,
      "deletepage" : true,
      "publishpage" : true,
      "translatepage" : true
    }
  },
  "file" : {
    "viewfile" : true,
    "createfile" : true,
    "updatefile" : true,
    "deletefile" : true
  }
}