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

With local staging is enabled, site member permissions do not take affect

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: None
    • Component/s: Staging
    • Labels:
    • Environment:
      LIFERAY VERSION: 6.1 GA2
      OPERATING SYSTEM: Red Hat Enterprise 5
      APPLICATION SERVER: Tomcat 7.0
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: Oracle 11.2

      Description

      Description

      Site permissions do not take affect for the Document and Media Library when a user local stages. Specifically, the Document and Med permissions for the Site member role are ignored.

      Steps to Reproduce

      Steps:
      1. Create a user with the following:

      • screen name : “site-member-1”
      • email address : site-member-1@liferay.com
      • first name : “Site Member 1”
        2. Assign user “site-member-1” as a member of your site
        3. Enable local staging with page versioning enabled for both public and private pages
        4. Add a folder “Folder 1” in Documents and Media in Control Panel
        5. Grant view permission on “Folder 1” to Site Members
        6. Ensure that view permission on “Folder 1” is not granted to Guest role
        7. Add a document “Document 1” in Documents and Media in Control Panel
        (Upload a file of your choice)
        8. Grant view permission on “Document 1” to Site Members
        9. Ensure that view permission on “Document 1” is not granted to Guest role
        10. Create a private page “Page 1”
        11. Add an Documents and Media portlet on “Page 1”
        12. Mark “Page 1” as Ready for Publication
        13. Publish “Page 1” to live
        14. Publish all Documents and Media data to live with date range set to : All and permissions checkbox checked
        15. Observe that the Documents and Media portlet on “Page 1” in the live site shows the folder “Folder 1” and document “Document 1”
        16. Sign-in as user “site-member-1” and navigate to “Page 1” in the live site
        17. Observe that user “site-member-1” is unable to see folder “Folder 1” and document “Document 1” in the Documents and Media portlet.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrew.betts Andrew Betts
                Reporter:
                ira.chui Ira Chui
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 1 week, 6 days ago

                  Packages

                  Version Package