Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25398

Permissons error when viewing documents and media portlet



      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.


          Issue Links



              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created:
                  Days since last comment:
                  8 years, 34 weeks ago


                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2