You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What?
Introduce Role-Based Access Control (RBAC) on the backend by adding roles decorators and guards to restrict access to certain endpoints based on user roles.
Why?
To ensure that sensitive operations (e.g., making decisions on a case) are only accessible by users with appropriate roles, enhancing security and operational integrity.
Task Definition
What?
Introduce Role-Based Access Control (RBAC) on the backend by adding roles decorators and guards to restrict access to certain endpoints based on user roles.
Why?
To ensure that sensitive operations (e.g., making decisions on a case) are only accessible by users with appropriate roles, enhancing security and operational integrity.
How?
Roles
decorator to annotate endpoints with required roles.RolesGuard
that checks authenticated users' roles against those required by an endpoint.Acceptance Criteria:
Roles
decorator andRolesGuard
are implemented and functional.The text was updated successfully, but these errors were encountered: