Skip to content

Set up auth access levels for UI #9

Open
@jescalada

Description

@jescalada

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions