feat(auth): implement and verify authorization for all endpoints #71
No reviewers
Labels
No labels
bug
critical
duplicate
enhancement
future
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: libscie/researchequals-api#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/54"
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?
Authorizable
trait modelsinstitutions
users
andaffiliations
authorships
,outputs
,invitations
, andversions
Fixes #54. All routes with
JwtMiddleware
need to implement authorization from here on.require_admin_role
authorization 06b3f5afa3user_can_modify
method forAuthorizable
trait 8c63287cf6invitations
59c31789dc