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

Restrict access better #279

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Restrict access better #279

merged 7 commits into from
Mar 20, 2024

Conversation

mfisher87
Copy link
Member

@mfisher87 mfisher87 commented Mar 20, 2024

Resolves #260
Resolves #261

  • Make the role string an enum
  • Do access control at route level; cleanup some template-level access control code
  • Document best practice of access control at route level

📚 Documentation preview 📚: https://usaon-benefit-tool--279.org.readthedocs.build/en/279/

@mfisher87 mfisher87 requested a review from rmarow March 20, 2024 22:04
@mfisher87 mfisher87 merged commit a1db56d into main Mar 20, 2024
5 checks passed
@mfisher87 mfisher87 deleted the restrict-access-better branch March 20, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant