Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-701

Disable upload button in field upload when lacking write permission

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • None
    • 2.1.2, 2.1.5, 2.2.1
    • DAM App
    • Yes
    • 3

    Description

      Steps to reproduce:

      • Log in to "superuser"
      • Adjust "travel-demo-editor" role to have "Read-only" and "Subnodes" on DAM for the path "travel-demo" ( )
      • Log in to "eric"
      • Go DAM app, select "travel-demo"
      • Observe: "Upload asset" is enable and click it ( )
      • Observe: "Select a file to upload" is enable and select one file to upload ( )

      => Click "Save change" and AccessDeniedException is thrown

      Expectation: "Upload asset" or "Select a file to upload" is disable

      Checklists

        Acceptance criteria

        Attachments

          1. aclSetup.png
            aclSetup.png
            66 kB
          2. select-file-enable.png
            select-file-enable.png
            118 kB
          3. upload-asset-enable.png
            upload-asset-enable.png
            208 kB

          Issue Links

            Activity

              People

                Unassigned Unassigned
                oanh.thai Oanh Thai Hoang
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - 3d
                      3d
                      Remaining:
                      Remaining Estimate - 3d
                      3d
                      Logged:
                      Time Spent - Not Specified
                      Not Specified