Add authorization #2

Open
opened 2021-03-27 23:08:14 +01:00 by hannaeko · 0 comments
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
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hannaeko/nomilo-archived#2
No description provided.