UBCO-COSC499-Summer-2024 / team-1-capstone-gradefalcon

Starter structure for projects
Other
3 stars 0 forks source link

Restricting pages based on roles #263

Closed BennettWitt closed 3 months ago

BennettWitt commented 3 months ago

Description

when logging in a user is given certain attributes at different endpoints, this retrieves the role and locks their view to certain pages accordingly, if a user access a page they shouldn't they are informed of the situation and forcefully logged out

Closes # (issue number)

Type of change

How Has This Been Tested?

Please describe how you tested this PR (both manually and with tests) Provide instructions so we can reproduce.

Checklist: