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

Disable upload button in chooseDialog when lacking write permission

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.1.9, 2.2.3
    • 2.1.2, 2.1.5, 2.2.1
    • DAM App
    • Yes
    • Saigon 86, Saigon 87
    • 3

    Description

      Steps to reproduce problem:
      1) Edit a page in Pages.
      2) Add a component with at least one LinkFieldDefinition pointing at dam
      3) Click "Select New"
      4) Choose a folder for which you have read-only permission
      5) See that the upload button is enabled
      6) Click upload button
      7) Choose a file from your operating system's file chooser
      8) Wait for file to upload to server
      9) Receive "Access Denied" error message

      Desired Outcome:
      5) See that the upload button is disabled
      6) Figure out that you need to pick a folder on which you have write permission

      This problem is even worse in our situation where none of our editors have write permission on the root node. They finish step 3, see a perfectly good upload button, and don't even think about maybe selecting a folder, and then are completely befuddled by the Access Denied message.

      I don't know what the best solution is but I've provided the one I will be using until you guys pick up this ticket.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                khuong.nguyenduy Khuong Nguyen
                nwing Nickolaus Wing
                Votes:
                1 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 Original Estimate - 3d
                      3d
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 6.5d
                      6.5d