Insufficient Permissions to Access Folders When Uploading Documents to Web Content

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

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助