Add authorization #2
hannaeko
commented 2021-03-27 23:08:14 +01:00
Owner
- Rework database models to ser/de Role (partially done)
- Add zone ownership for users
- Add authorization validation
- Check against role
- Check against zone ownership
- Add role to user creation request
- Make a different route for authenticated user
- Check for global Admin role
- Add route to authorize a user to access a zone
- Protect admin routes
- Add bootstrap thingy to create inital user
* [x] Rework database models to ser/de Role (partially done)
* [x] Add zone ownership for users
* [x] Add authorization validation
* [x] Check against role
* [x] Check against zone ownership
* [ ] Add role to user creation request
* [ ] Make a different route for authenticated user
* [ ] Check for global Admin role
* [ ] Add route to authorize a user to access a zone
* [ ] Protect admin routes
* [ ] Add bootstrap thingy to create inital user
hannaeko
added this to the Roadmap project 2021-03-27 23:14:32 +01:00
hannaeko
added this to the 0.1.0 milestone 2021-03-27 23:14:35 +01:00
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?