Setting Widget Permissions

All of Liferay’s widgets support Liferay’s robust, fine-grained permissions system. Some higher level permissions can be configured in the permissions tab of the widget’s configuration dialog box.

  1. Start editing the page where the widget has been deployed.

  2. Click Options (Widget Options icon) in the widget header → Permissions. This shows you a table of roles.

    Note

    Before Liferay DXP 2025.Q1, the Permissions option appeared in the widget’s top-right corner.

  3. Use the check boxes to grant certain permissions to different roles. Click Save after you’ve made your selections.

Note

Some widgets have unique permissions, like the Ban User permission in Message Boards, which may not apply to other widgets.

Here is a list of the available general permissions:

PermissionDescription
Add Display TemplateAdd a display template to the widget.
PermissionsView and modify the widget’s permissions.
PreferencesView and modify the widget’s preferences.
ConfigurationAccess the widget’s configuration menu.
ViewView the widget.
Add to PageAdd a widget to a page.

The permissions matrix makes configuration for a widget convenient.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy