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

Set up auth access levels for UI #9

Open
jescalada opened this issue Feb 3, 2025 · 0 comments · May be fixed by #10
Open

Set up auth access levels for UI #9

jescalada opened this issue Feb 3, 2025 · 0 comments · May be fixed by #10
Assignees

Comments

@jescalada
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Related to #1. We want to make the admin routes only accessible by admins and make the rest of the routes, except the login page, accessible only by logged-in users.

Describe the solution you'd like
This will require some kind of wrapper component for all the routes and a hook to check if a user is currently logged in and their admin status.

Describe alternatives you've considered
None

Additional context
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant