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

Review/Rebuild AuthZ Middleware #170

Open
zysim opened this issue Jul 27, 2023 · 0 comments
Open

Review/Rebuild AuthZ Middleware #170

zysim opened this issue Jul 27, 2023 · 0 comments
Labels
backlog Stuff to consider in the future

Comments

@zysim
Copy link
Collaborator

zysim commented Jul 27, 2023

The authorisation system I built ages ago clashes with our current structure. For example, UserTypes (in Authorization/UserTypes.cs) should be deprecated in favour of UserRole (in Models/Entities/User.cs). This affects a few things, including the authorisation policy registration in Program.cs and our middleware override, UserTypeAuthorizationHandler. At the very least, we should swap calls to UserTypes to UserRole instead, and potentially rethink how we handle authorisation of endpoints.

Affected Functionality

  • Authorisation

Other Relevant Issues

N/A

@zysim zysim added the backlog Stuff to consider in the future label Jul 27, 2023
@erunks erunks added this to Backlog Nov 10, 2024
@erunks erunks moved this to Backlog in Backlog Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Stuff to consider in the future
Projects
Status: Backlog
Development

No branches or pull requests

1 participant