oo

Assigning Permissions to Web Content Articles

With Liferay’s permissions framework, you can control which users can create, view, and manage web content articles. You can set permissions for individual articles or Liferay DXP 2024.Q2+/Portal 7.4 GA120+ multiple articles at once. See Understanding Roles and Permissions for more information.

  1. Follow the steps to create a web content article.

  2. The Permissions section appears at the bottom-right of the Properties tab (1). Click More Options to set permissions for Guests and Site Members. You can also set your article’s visibility by choosing a Viewable by option.

    Liferay DXP 2024.Q2+/Portal 7.4 GA120+ Alternatively, you can set permissions before publishing web content using the Publish With Permissions option (2). See Publish With Permissions and Schedule Publications to learn more.

    Assign permissions to web content articles before publication.

  3. Select the permissions you need for your roles. See Web Content Articles Permissions Reference to learn more about each permission.

  4. Proceed with the publication process.

To assign permissions to web content articles after publication,

  1. Open the Site Menu (Site Menu) and navigate to Content & DataWeb Content.

  2. Select the Web Content tab to set permissions for web content articles.

  3. For the web content articles where you want to assign permissions, click Actions (Actions) and select Permissions (1).

    Liferay DXP 2024.Q2+/Portal 7.4 GA120+ You can also select the checkbox next to the web content article(s) (see permissions in bulk) and click Permissions at the top options bar (2).

    The web content article permissions can be found in the Web Content application.

  4. Select the permissions you need for your roles. See Web Content Articles Permissions Reference to learn more about each permission.

  5. Click Save.

Setting Web Content Articles Permissions in Bulk

Liferay DXP 2024.Q2+/Portal 7.4 GA120+

Important

Currently this feature is behind a release feature flag (LPD-16469). Read Release Feature Flags for more information.

  1. Open the Site Menu (Site Menu) and navigate to Content & DataWeb Content.

  2. Select the checkbox next to the web content articles you want to configure.

    Note

    You can only assign permissions in bulk to web content articles. Folder permissions must be set individually.

  3. Click Permissions at the top options bar.

  4. Update the permissions for each role. See Web Content Articles Permissions Reference to learn more about each permission.

    There are four available icons when setting permissions in bulk.

    (1) (Indeterminate permission icon) indicates that the permission is set in some of the selected web content articles, but not all of them.

    Tip

    Uncheck the permission to disable it on all selected web content articles. To enable the permission on all selected web content articles, uncheck and check it.

    (2) (Empty permission icon) indicates that the permission is not set to any of the selected web content articles.

    (3) (Disabled permission icon) indicates that you can’t set the permission for that role.

    (4) (Set permission icon) indicates that the permission is set in all of the selected web content articles.

    The permissions offer many options for each role.

  5. Click Save to apply the changes.

Web Content Articles Permissions Reference

Here’s a list of permissions associated with web content articles. 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 web content article.
Delete Move the web content article to the Recycle Bin.
Permissions View and modify the web content article’s permissions.
Expire Set an article’s expiration date.
Delete Discussion Delete an article’s comments.
Update Edit and modify the web content article.
Subscribe Receive notifications for new and modified web content articles.
View View the web content article.
Add Discussion Comment on the web content article.

All permissions and users displayed when modifying your permissions appear on the left. Liferay DXP 2024.Q2+/Portal 7.4 GA120+ On the right is a simplified view showing the most common roles displayed when creating an article.

On the left, displayed permissions while modifying your permissions. On the right, displayed permissions while creating an article.