Epic: Authorization & Role-Based Access Control Refactor #331
Labels
No labels
accessibility
api
auth.js
backend
copy
database
defect
dependencies
design
discussion
documentation
duplicate
enhancement
epic
feature
front-end
good first issue
help wanted
invalid
next.js
noscript
on hold
operations
optimization
postgresql
prisma
prototype
question
react
spike
stale
story
tailwind
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SSE/WebsiteTheSSEquel#331
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?
Authorization & Role-Based Access Control Refactor
User Stories
Technical Requirements
primaryOfficerVerifiertonext/lib/middlewares/authentication.tsusingisPrimaryfromAuthLevelROUTESentries forofficer,officer-positions,handover,headcount-importto useprimaryOfficerVerifiereventVerifierto requireisUserfor attendance endpointsROUTES.quotesto use asignedInVerifierfor POST; keep officer-only for PUT/DELETE with self-delete exceptionROUTESwith correct verifiersdashboard/layout.tsxto redirect mentor-only users away from non-mentoring sections/profile/[id]page and/api/user/searchbehind owner/officer auth