atom icon indicating copy to clipboard operation
atom copied to clipboard

Problem: Authenticated users cannot dismiss banner generated by unauthenticated export

Open melaniekung opened this issue 2 years ago • 0 comments

Current Behavior

Steps to reproduce the behavior

  1. Generate a Clipboard Export without logging in.
  2. Refresh page so that you see the "Digital object and XML export ..." banner.
  3. Log in to AtoM.
  4. Attempt to dismiss the banner.
  5. Message received: "Sorry, you do not have permission to access that page"

Expected Behavior

Authenticated users should have the option to dimiss a banner generated by unauthenticated user.

Possible Solution

Update message with explanation of behaviour and add confirmation to delete.

Context and Notes

There are 2 different behaviors for export download notifications - 1 for authenticated, and 1 for unauthenticated. For authenticated users, you just get a notification that you can go to the jobs page to get your DL. However, unauthenticated users cannot access that page, so we added a banner for them with a direct download link, and made it a bit more sticky, so it will persist until the user actually X'es it away (so they don't accidentally navigate to a different page and lose access to their DL before they get it).

Tested Versions

Tested in AtoM 2.7.3 and 2.8.0.

melaniekung avatar Dec 20 '23 17:12 melaniekung