Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only Super Admin should be able to change user roles #411

Open
Dbreck-TAMU opened this issue Jan 13, 2025 · 0 comments · Fixed by #412
Open

Only Super Admin should be able to change user roles #411

Dbreck-TAMU opened this issue Jan 13, 2025 · 0 comments · Fixed by #412
Assignees
Labels
bug Something isn't working

Comments

@Dbreck-TAMU
Copy link

Dbreck-TAMU commented Jan 13, 2025

In tandem with Scholars Discovery Issue 452

This will also require update in scholars-angular for disallowing admin to manage users.

https://github.com/TAMULib/scholars-angular/blob/tamu-main/src/app/app-routing.module.ts#L13

Removing Role.ROLE_ADMIN from the admin section is adequate for now.

If time permits, I think it would be more appropriate to add another role ROLE_MANAGER or something similar for the users who have access to data & analytics.

Additionally, the Administrator link in the footer needs to be visible to only users with a Super Admin role.

@Dbreck-TAMU Dbreck-TAMU converted this from a draft issue Jan 13, 2025
@Dbreck-TAMU Dbreck-TAMU self-assigned this Jan 13, 2025
@Dbreck-TAMU Dbreck-TAMU added the bug Something isn't working label Jan 13, 2025
@kaladay kaladay moved this to 🏃 On Sprint in Scholars@TAMU Jan 14, 2025
@kaladay kaladay linked a pull request Jan 14, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🏃 On Sprint
1 participant