Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8570

Check commands permissions correctly if path is not specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 6.2.25
    • 6.2.24
    • None
    • None
    • Nucleus 20
    • 5

      Steps to reproduce

      1. https://nightly.magnolia-cms.com/.magnolia/admincentral#app:security:roles;/travel-demo-tour-editor:treeview:
      2. Find DAM ACLs
      3. Set Read/Write to /tours
      4. Set deny to /
      5. Log out
      6. Log in as peter:peter 
      7. Publish https://nightly.magnolia-cms.com/.magnolia/admincentral#app:dam:jcrBrowser;/tours/shark_brian_warrick_0824.JPG::

      Expected results

      The item is published.

      Actual results

      Caused by: info.magnolia.publishing.exception.PublicationException: <ul><li>null: User not allowed to Read path [dam/]</li></ul>

      (https://nightly.magnolia-cms.com/.magnolia/admincentral#app:logTools:list)

      Workaround

      Development notes

      This method should check the granted permissions by node UUID if path is not provided.

        Acceptance criteria

              thien.quach Quach Hao Thien
              jayala Jonathan Ayala
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 4d 3.5h
                  4d 3.5h