Updating Page Permissions
By default, when users join a site, they can see all of its pages. However, you can configure permissions for individual pages to restrict access based on user roles.
Individual page permissions take priority over site-level configurations.
To update page permissions,
-
Open the Site Menu (
) and navigate to Site Builder → Pages.
-
Next to a page, click Actions (
) → Permissions (1).
Alternatively, while editing a page, at the top right corner of the page click Options (
) → Permissions (2).
Liferay DXP 2024.Q2+/Portal 7.4 GA126+ Or select the checkbox next to the page(s) (see permissions in bulk) and click Permissions at the top options bar (3).
-
Select the permissions you need for your roles. See Page Permissions Reference to learn more about each permission.
-
Click Save to apply the changes.
Copying a Page with Permissions
To copy a page with its permissions,
-
Open the Site Menu (
) and select Site Builder → Pages.
-
Click Actions (
) for the desired page and select Copy → Page With Permissions.
-
Enter a page name and click Add.
Setting Pages Permissions in Bulk
Liferay DXP 2024.Q2+/Portal 7.4 GA126+
-
Open the Site Menu (
) and navigate to Site Builder → Pages.
-
Select the checkbox next to the pages you want to configure.
-
Click Permissions at the top options bar.
-
Update the permissions for each role. See Page Permissions Reference to learn more about each permission.
There are four available icons when setting permissions in bulk.
(1) (
) indicates that the permission is set in some of the selected pages, but not all of them.
TipUncheck the permission to disable it on all selected pages. To enable the permission on all selected pages, uncheck and check it.
(2) (
) indicates that the permission is not set to any of the selected pages.
(3) (
) indicates that you can’t set the permission for that role.
(4) (
) indicates that the permission is set in all of the selected pages.
-
Click Save to apply the changes.
Page Permissions Reference
Here’s a list of permissions associated with pages. To learn more about DXP Roles and Permissions in general, see Roles and Permissions.
Permission | Description |
---|---|
Update Discussion | Edit another user’s comment on the page. |
Permissions | View and modify the page’s permissions. |
Update - Advanced options | Access the page element’s Advanced tab when updating a page. |
Update Page Content | Update the page’s content, including text, images, and settings in the Mapping, Link, and Image Source tabs. |
Customize | Customize the page. |
Page Rule Builder | Use the Page Rule Builder to define rules for the page. This feature is currently under a feature flag. |
Add Page | Add pages. |
View | View pages. |
Delete | Move the page to the Recycle Bin. |
Liferay DXP 2024.Q2+/Portal 7.4 GA126+ Preview Draft | Even without the Edit permission, users can preview Draft versions of the page. |
Update Basic | Basic options for updating the page. |
Delete Discussion | Delete any comments on page. |
Configure Applications | Manage Fragments and Widgets. |
Update | Update the page. |
Update - Limited | Limited options for updating the page. |
Add Discussion | Comment on the page. |
Update Permissions Reference
To manage the site’s look and feel while maintaining control over branding and style, users require different sets of permissions depending on their roles in the process.
For example, designers require full control over layout and style editing, best achieved with Update permissions. Conversely, content creators typically only need to add content and map fields to page elements, which can be accomplished with Update Page Content permissions.
Liferay provides four update permissions for pages. Each grants users different sets of permissions:
Update: The most comprehensive of the four permissions.
Users can edit the page’s layout and style completely. It’s aimed at the designer role as they are the ones who must edit and style the whole page.
All features added to the page editor are enabled by default for this permission.
The other update permissions are irrelevant once this one is granted since it encompasses the others.
Update - Limited: Users have limited access to editing fragment styles.
Users can edit fragment styles only inside the brand/style book limits. It’s aimed at the page builder role as they need to make some adjustments when building the pages.
Page Element | Available Actions |
---|---|
Fragments | Available: Drag and drop. |
General Tab - Container and Grid fragments | Available: Container, Frame, Overflow, and Hide Fragment options. |
General Tab - other fragments | Available: Overflow and Hide Fragment options. |
Styles Tab | Not available: Decoupling from tokens. |
Advanced Tab (Update - Advanced Options permission needed) | Available: Advanced configurations. Not Available: Custom CSS. |
Update - Basic: Users can perform basic actions while updating the page.
Users can update the page layout and drag and drop new fragments, but it’s not possible to change all options in the page element’s Styles tab.
Page Element | Available Actions |
---|---|
Fragments | Available: Drag and drop. |
General Tab - Container and Grid fragments | Available: Container, Frame, Overflow, and Hide Fragment options. |
General Tab - other fragments | Available: Overflow and Hide Fragment options. |
Styles Tab - Container and Grid fragments | Available: Edit Spacing options. |
Styles Tab - other fragments | Not Available. |
Advanced Tab (Update - Advanced Options permission needed) | Available: Advanced configurations. Not Available: Custom CSS. |
Update - Advanced Options: Users can access the page element’s Advanced tab.