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

WebDAV doesn't adhere to document library permission rules in resource-action-mapping

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: 6.1.20 EE GA2
    • Component/s: DM
    • Labels:
    • Environment:
      MySQL5.1 + Tomcat 7 + GitID: 435f1365a1401ee15cc9c567ef4d79bc417ae04d

      Description

      Steps to take:
      1. Save the attached file to tomcat/webapps/ROOT/WEB-INF/classes/resource-actions/documentlibrary-ext.xml
      2. Find 2 documents - A.doc and B.doc
      3. Create a new private site called "Test Site".
      4. Create a private page called home
      5. Add the "Documents and Media" portlet to the home page
      6. Add > Basic Document
      7. Select A.doc
      8. Permissions will default to: Site Members
      9. Expand "More Options" and note that no permissions are enabled for Guests
      10. Click Publish
      11. View permissions for A.doc and confirm that no permissions are enabled for Guests
      12. Mount the WebDAV drive, e.g. http://localhost:8080/api/secure/webdav/
      13. Navigate to the test-site/document_library folder using WebDAV
      14. Copy and paste the B.doc into the WebDAV folder
      15. Return to the browser
      16. View the permissions for B.doc
      17. Note that Guest user has "Add Discussion" and "View" permission when it shouldn't.

      Expected Result:
      The documents uploaded via WebDAV should comply with the permission definition.

      Actual Result:
      The document uploaded via WebDAV does not comply with the permission rules. Both View and Add Discussion option is checked by default.

        Attachments

          Activity

            People

            • Assignee:
              hai.yu Hai Yu
              Reporter:
              vincent.liu Vincent Liu
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 4 weeks, 3 days ago

                Packages

                Version Package
                6.1.20 EE GA2