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

Implement ways to handle authorization #21

Open
jupiter007 opened this issue Apr 1, 2024 · 2 comments
Open

Implement ways to handle authorization #21

jupiter007 opened this issue Apr 1, 2024 · 2 comments

Comments

@jupiter007
Copy link
Collaborator

Once the user is authenticated, we need a way to control whether the user is allowed to visit certain routes, or perform certain operations, such as mutating data.

Try using middleware to check whether user is authenticated and centralizing access control. Use API Routes to control access to certain functionalities based on user's authentication and role.

@jupiter007 jupiter007 self-assigned this Apr 1, 2024
@bofstein
Copy link
Collaborator

bofstein commented Jul 8, 2024

Have middleware in as placeholder but need to build out authz as we add roles, permissions, etc.

@bofstein
Copy link
Collaborator

May need to be its own Epic:

  • Decide on possible user roles
  • Design how they get granted roles
  • Implement role-based access on website
  • Figure out how to remove roles

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

2 participants