Setting Default Permissions
Liferay DXP 2024.Q3+/Portal 7.4 GA125+
You can define a set of default permissions for Liferay pages. The default permissions setting is available at both instance and site scopes. Use the instance scope to configure defaults for all sites in your instance. To affect a single site, set defaults at the site scope.
Currently, this feature is behind a release feature flag (LPD-21265). Read Release Feature Flags for more information.
To configure permissions at the instance level,
-
Open the Global Menu () and navigate to Control Panel *→ Instance Settings.
-
Scroll down to Content and Data and select Default Permissions.
-
Click Edit next to the Page asset type.
-
A new modal opens with a list of permissions for various roles. Check the permissions required and click Save.
NoteThe selected permissions aren’t auto-saved. Ensure you click Save after selecting the required permissions.
-
Go to your site, open the Site Menu (), and go to Site Builder → Pages.
-
Click New and select Page.
-
Select the Basic template and enter a name.
-
Click Add. This opens the page in edit mode.
-
Click Publish.
-
Click Actions () next to the newly created page and select Permissions.
-
Verify that the permissions configured at the instance level appear here.
Setting Default Permissions at the Site Level
Default permissions at the site level take precedence over default permissions at the instance level.
-
Go to the appropriate site, open the Site Menu (), and go to Configuration → Site Settings.
-
Scroll down to Content and Data and select Default Permissions.
-
Click Edit next to the Page asset type.
-
A new modal opens with a list of permissions for various roles. Check the permissions required and click Save.
-
Open the Site Menu (), and go to Site Builder → Pages.
-
Click New and select Page.
-
Select the Basic template and enter a name.
-
Click Add. This opens the page in edit mode.
-
Click Publish.
-
Click Actions () next to the newly created page and select Permissions.
-
Verify that the permissions configured at the site level overrides the defaults configured at the instance level.