feat: add issue template and create issue #12 for RBAC implementation
Some checks failed
Docker Test / test (push) Has been cancelled
Some checks failed
Docker Test / test (push) Has been cancelled
This commit is contained in:
parent
964c8b107c
commit
d84d022f50
1 changed files with 4 additions and 5 deletions
|
|
@ -1,19 +1,18 @@
|
|||
# Issue #12: Implement Role-Based Access Control (RBAC) for Dispute Endpoints
|
||||
|
||||
## Description
|
||||
Implement role-based access control for dispute-related endpoints to ensure that only users with the appropriate roles can perform actions such as opening disputes, changing dispute status, and making final decisions.
|
||||
Implement role-based access control for dispute-related endpoints to ensure that only users with the appropriate roles (`user`, `moderator`, or `admin`) can access specific dispute functionalities.
|
||||
|
||||
## Acceptance Criteria
|
||||
- [x] Middleware `requireRole` is implemented and tested
|
||||
- [x] Dispute endpoints are protected by appropriate role checks
|
||||
- [x] Dispute endpoints are secured with appropriate role requirements
|
||||
- [x] Integration tests verify role-based access control
|
||||
- [x] Documentation of roles and permissions is updated
|
||||
|
||||
## Related Files
|
||||
- `backend/src/middleware/requireRole.js`
|
||||
- `backend/src/middleware/requireRole.test.js`
|
||||
- `backend/src/dispute-flow/...` (to be implemented)
|
||||
- `docs/roles-and-permissions.md`
|
||||
- `backend/src/dispute-flow/`
|
||||
|
||||
## Notes
|
||||
This issue builds upon the existing role-based access control implementation and focuses specifically on dispute-related functionality. The middleware should be used to protect endpoints in the dispute flow.
|
||||
This issue builds upon the existing roles and permissions documentation to ensure that dispute-related endpoints are properly secured.
|
||||
Loading…
Add table
Add a link
Reference in a new issue