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

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

      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

        Acceptance criteria

          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

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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