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

Setup routing in the app #8

Open
singvarr opened this issue Jun 15, 2024 · 0 comments
Open

Setup routing in the app #8

singvarr opened this issue Jun 15, 2024 · 0 comments

Comments

@singvarr
Copy link
Collaborator

singvarr commented Jun 15, 2024

Implement auth checks that will verify that user:

  • has no authorization
  • has authorization
  • has superadmin role.

Notes:

  1. If a user has no authorization they should be redirected to the login page. Optional: After successful login, a user should be navigated to a page that they tried to access before
  2. If a user has an authorization but has not enough permissions, they should be redirected to their default page (/restaurants page)
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

1 participant