Skip to content

Update Login Routes for 3rd Tier Admin #281

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

Open
3 tasks
klinkoberstar opened this issue Jul 29, 2024 · 0 comments
Open
3 tasks

Update Login Routes for 3rd Tier Admin #281

klinkoberstar opened this issue Jul 29, 2024 · 0 comments

Comments

@klinkoberstar
Copy link
Contributor

klinkoberstar commented Jul 29, 2024

Description:

  • Update the login routes to accommodate the new 3rd tier admin structure.
  • Add a function has_org_admin(user) to check if a user is an admin for an organization.
  • Ensure the login logic checks the User_org_role table for admin rights.

Tasks:

  • Add has_org_admin(user) function.
  • Update login routes to include the new admin checks.
  • Test the updated login routes to ensure proper admin rights are applied.

Dependencies:

This ticket depends on the completion of:

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