FR10: The administrator functionalities shall only be accessible when proof of admin is proven.
Additional Requirement
User Stories
As a user, I don't want someone else changing my information, so that nothing bad happens.
As the admin of the system, I want a strong verification process when using the admin priorities, so that my admin privilege would not be used by the wrong person.
Acceptance Criteria
[x] Create middleware to authenticate JWT
[x] Create middleware to authorize requester
[x] Apply middleware to necessary endpoints
[x] Modify postman tests to work with authentication
Related Requirements
Requirements Related to Authentication
FR10: The administrator functionalities shall only be accessible when proof of admin is proven.
Additional Requirement
User Stories
As a user, I don't want someone else changing my information, so that nothing bad happens. As the admin of the system, I want a strong verification process when using the admin priorities, so that my admin privilege would not be used by the wrong person.
Acceptance Criteria