Issue
-
When staging is enabled, the user with the web content editor role will be unable to add or edit any web content in the staging environment.
-
Steps to reproduce:
-
Create a site
-
On-site configuration enables Manual Membership Management
-
Created 2-3 web content.
-
Create 'Site Role' → define permissions → Web content (select everything related to web content only).
-
Create a new user.
-
On the product menu People → membership and the new user to the site
-
Assign user to the previously created role
-
Login from that user account now he will be able to add or edit web content.
-
With the admin account: enable local-live publishing with everything selected as default
Expected Behavior: The editor user still able to edit and add new web content
Observed Behavior: The user can no longer edit and add new web content
-
Environment
- Liferay DXP 7.4
Resolution
-
When local Staging is enabled, the user with the custom role should go to the Staging part of the site (/group/my-site-staging instead of /group/my-site) to add/edit Web Contents to this site.
Therefore, with this set of permissions, this is not a bug but only the lack of a link for the user to access the Staging part, which can be achieved by creating a new regular role with the permission “View Staging” restricted to the site(s) of interest in Control Panel > Sites > Sites > Site.
Custom-Site-Role> Define Permissions> Configuration> Site Settings> Site> View Staging> Save.