gwu-libraries / scholarspace-hyrax

Hyrax-based repository for GW ETDs and other original content
https://scholarspace.library.gwu.edu/
MIT License
9 stars 4 forks source link

Blocking notifications and importer/exporter pages for non-privileged… #531

Closed dolsysmith closed 6 months ago

dolsysmith commented 6 months ago

Resolves #529.

The notifications, importers and exporters routes should now redirect to home for any user who authenticates with non-elevated privileges. Also, the notifications bell should not appear when logged in as such a user.

Note that the code in routes.rb is a little redundant; I couldn't see an easy way of getting around it, but if you do, please fix!