Issue
- Users with a role other than Administrator, for example, the "Editor" role, receive a permissions error when they try to access folders within Documents and Media while uploading a document to Web Content.
- The following error message is displayed in the logs:
com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission:
User [userId] must have VIEW permission for com.liferay.portal.kernel.model.Group [groupId]
Environment
- Liferay DXP 7.4
- Liferay DXP 2024.Q2
Resolution
- To grant the necessary permissions for users with the "Editor" role to access folders during document uploads, add Modify and View permissions to the role within Site Administration:
Configuration > Site Settings > Site: Permissions