Skip to content

Question solved RBAC auth implemented#3

Open
shibadityadeb wants to merge 1 commit intonot-soo-techie:mainfrom
shibadityadeb:main
Open

Question solved RBAC auth implemented#3
shibadityadeb wants to merge 1 commit intonot-soo-techie:mainfrom
shibadityadeb:main

Conversation

@shibadityadeb
Copy link

No description provided.

@shibadityadeb
Copy link
Author

Newton School RBAC Assignment Solved
🔐 /login endpoint
✔ should login admin and return JWT
✔ should login teacher and return JWT
✔ should login student and return JWT
✔ should reject invalid credentials
🛡️ Role-based access
✔ should allow admin to access /admin
✔ should deny teacher from accessing /admin
✔ should allow teacher to access /teacher
✔ should deny student from accessing /teacher
✔ should allow student to access /student
✔ should reject access with missing token
✔ should reject access with invalid token

11 passing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant