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

    Details

      Description

      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.

        Attachments

        1. accessandviewcontrolpanel.jpg
          104 kB
          Sergio Gonzalez
        2. viewdocumentmedia.jpg
          93 kB
          Sergio Gonzalez
        3. viewpermission.jpg
          136 kB
          Sergio Gonzalez

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 44 weeks ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2