feat: add RBAC implementation for dispute endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
Some checks are pending
Docker Test / test (push) Waiting to run
This commit is contained in:
parent
25cea4fbe8
commit
5a61bf2dbf
2 changed files with 27 additions and 34 deletions
|
|
@ -1,17 +1,16 @@
|
|||
## Beschreibung
|
||||
## Issue Template for helpyourneighbour
|
||||
|
||||
Implementierung des Rollen- und Rechtekonzepts gemäß der Dokumentation in `docs/roles-and-permissions.md`.
|
||||
### Description
|
||||
Describe the task to be done.
|
||||
|
||||
## Aufgaben
|
||||
### Acceptance Criteria
|
||||
- [ ] Criterion 1
|
||||
- [ ] Criterion 2
|
||||
- [ ] Criterion 3
|
||||
|
||||
- [ ] Implementierung der `requireRole` Middleware
|
||||
- [ ] Integration der Middleware in die bestehenden Routen
|
||||
- [ ] Erstellung von Integrationstests für die Rollenprüfung
|
||||
- [ ] Dokumentation der Rolle in der API-Dokumentation
|
||||
### Related Files
|
||||
- File 1
|
||||
- File 2
|
||||
|
||||
## Akzeptanzkriterien
|
||||
|
||||
- Alle Endpunkte sind entsprechend den Rollen geschützt
|
||||
- Integrationstests bestehen erfolgreich
|
||||
- Die Middleware ist in allen relevanten Routen implementiert
|
||||
- Die Dokumentation wurde aktualisiert
|
||||
### Notes
|
||||
Any additional context or notes.
|
||||
Loading…
Add table
Add a link
Reference in a new issue