wp.ac - Access control | HCL Digital Experience

Provides read access to the current access control permissions for a resource.

Example: ${wp.ac[node].hasPermission['editor']}

Attributes:

get(id)
Gets an individual access control node.

Example:

${wp.ac[wp.selectionModel.selected].selected}
Parameters:
id
String or Identifiable object to look up the access control objects, must not be null.

Returns: AccessControl; it can be null if it is not found.