feat(auth): implement and verify authorization for all endpoints #54
Loading…
Add table
Add a link
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?
The implementation is mostly focused on authentication at this time - authentication only verifies being logged in.
Authorization will ensure the logged in user has the relevant permissions. There are multiple forms of authorization we need to implement:
Role based means for example that an admin has more rights on the service (for example, to delete institutions) than a regular client. Depends on #26.
User based authorization is to ensure that Person A cannot modify Person B's data. It can also mean that we verify that Person A has access to the requested content (eg a publication draft).