Problem: Authenticated users cannot dismiss banner generated by unauthenticated export
Current Behavior
Steps to reproduce the behavior
- Generate a Clipboard Export without logging in.
- Refresh page so that you see the "Digital object and XML export ..." banner.
- Log in to AtoM.
- Attempt to dismiss the banner.
- 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.