TypePermissions Data Type

Permissions set on a type or instance

Properties
name data type description
type string Type
id number Optional instance ID
channelId number Optional channel ID for folders
label string Label of the type/instance
description string Description
perms array of TypePermissionItem List of permissions available for the type
roles array of RoleItem List of available roles
children boolean True if the type/instance has children
editable boolean True if the permissions can be changed by the current user

Example

{
  "type" : "...",
  "id" : 12345,
  "channelId" : 12345,
  "label" : "...",
  "description" : "...",
  "perms" : [ {
    "type" : "translatepages",
    "label" : "...",
    "description" : "...",
    "category" : "...",
    "value" : true,
    "editable" : true
  }, {
    "type" : "deletegroup",
    "label" : "...",
    "description" : "...",
    "category" : "...",
    "value" : true,
    "editable" : true
  } ],
  "roles" : [ {
    "id" : 12345,
    "label" : "...",
    "description" : "...",
    "value" : true
  }, {
    "id" : 12345,
    "label" : "...",
    "description" : "...",
    "value" : true
  } ],
  "children" : true,
  "editable" : true
}