Add authorization #2
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
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?