Closed ratnesh-maurya closed 1 month ago
can you please assign to me i am interested in this
I have assigned one task to you once you finish that then i can assign you this issue Thanks
Hi @ratnesh-maurya sir! could you Please assign this issue to me
sure , go ahead
@yasheela-alla what .env variables you are using i think the error which you mention was due to "SALT" use this as the env variables
SALT = "E_SALA_CUP_NAMDE"
still seeing the error 404
Description:
We need to implement role-based access control (RBAC) for our backend API. Currently, the API does not enforce permission checks based on user roles. Each API endpoint should verify the user's role (obtained from the bearer token) and execute the endpoint only if the user has the appropriate permissions.
Implementation Reference:
The following code snippet demonstrates the desired role checking mechanism:
Objectives:
Requirements:
Acceptance Criteria: