-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE GA1, 6.2.0 CE M2
-
Fix Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2, 6.2.0 CE M2
-
Component/s: User Management, User Management > Roles
-
Labels:
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Git Pull Request:
We have an issue with Document Library permissions. The problem we have is that we don't have a real root folder, so when we are doing permission checking in root folder we checked the model com.liferay.portlet.documentlibrary and not com.liferay.portlet.documentlibrary.model.DLFolder.
Then, if we create a regular rol that has Access in Control Panel and View permission (see accessandviewcontrolpanel.jpg) he is not able to see the Documents and Media in Control Panel, because we didn't set the VIEW permission for com.liferay.portlet.documentlibrary (you can see the error in viewdocumentsmedia.jpg)
So, if we want a role that allows the user to access Documents and Media in Control Panel, besides the above permissions, we also need to set VIEW permission for the model com.liferay.portlet.documentlibrary (as you can see in viewpermission.jpg). However, this doesn't make sense from a user point of view, because in the rest of the portlet, with the 2 first permissions is enough.