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

Auth Context #19

Open
Anthonyp0329 opened this issue Feb 14, 2025 · 0 comments
Open

Auth Context #19

Anthonyp0329 opened this issue Feb 14, 2025 · 0 comments
Assignees

Comments

@Anthonyp0329
Copy link
Collaborator

Create an Auth Context provider to wrap our main pages, and display the correct thing based off of the user's role. For example, the home page should show the admin/staff view if they are admin or staff, and the veteran view if they are a veteran. In addition, when viewing another person's profile, this also depends on the user's role.
Also ensure that for each route, they are taken to the login page if they are not currently authenticated.

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

No branches or pull requests

3 participants