Adapt roles

For list attributes, privileges must be assigned explicitly. These privileges specify which roles are permitted to modify list attributes. You can set the privilege for adding objects to and removing objects from a list attribute individually. By default, no role has the privilege to do this. You must explicitly assign this privilege to all roles.

Location

XML file in the xml folder

Procedure

  1. Add a new <roles> element.
  2. Add one or more <role> child elements that you can copy from the default configuration.
  3. Customize the privileges. The roles need privileges for adding objects to or removing them from the new list attribute.
  4. Add a new <relation> child element to the <object> element references the matching object type. The right.idref property knows the possible values a (attach), r (remove), and ar (attach/remove). listAttrType.id references the corresponding list attribute.

Documents

roles.xml, roles.xsd

Example

ModifyObject_AddListAttribute

\WEB-INF\config\custom\xml\custom.xml: Modify roles