Properties Methods Events Config Options Direct Link
Action
  PrivilegedAction

Class CQ.PrivilegedAction

Package:CQ
Class:PrivilegedAction
Extends:CQ.Ext.Action
Clientlib:cq.widgets
The PrivilegedAction is an Action which is enabled or disabled based on the privileges granted to the current user. The action will remain disabled as long as there are non-granted privileges configured. If the configuration contains no privileges at all, the action will be active.

For convenience reasons, application privileges and repository privileges are treated equally and can be configured within the same array of privileges.

Config Options

Config Options Defined By
  disabled : Boolean
True to disable all components using this action, false to enable them (defaults to false).
Action
  hidden : Boolean
True to hide all components using this action, false to show them (defaults to false).
Action
  path : String
(optional) The path used to test privileges and conditions for this action (defaults to '/').
PrivilegedAction
  privileges : String/Array
The privilege(s) required to be granted in order to execute this action.
PrivilegedAction
  text : String
The text to set for all components using this action (defaults to '').
Action

Public Properties

This class has no public properties.

Public Methods

Method Defined By

Public Events

This class has no public events.