PrivilegeMap Data Type

This data type has been deprecated. use PermissionsMap instead

Privilege Map containing privilege information (in general and language specific)

Properties
name data type description
privileges map of boolean Privileges not specific to languages
languages array of LanguagePrivileges Language specific privileges

Example

{
  "privileges" : {
    "property1" : true,
    "property2" : true
  },
  "languages" : [ {
    "language" : {
      "id" : 12345,
      "globalId" : "...",
      "code" : "...",
      "name" : "..."
    },
    "privileges" : {
      "property1" : true,
      "property2" : true
    }
  }, {
    "language" : {
      "id" : 12345,
      "globalId" : "...",
      "code" : "...",
      "name" : "..."
    },
    "privileges" : {
      "property1" : true,
      "property2" : true
    }
  } ]
}