From 29fe82ec969c2bf0fa6b17019b7cfffa7d3aed70 Mon Sep 17 00:00:00 2001 From: BibaBot Date: Mon, 16 Mar 2026 23:06:42 +0000 Subject: [PATCH] docs: add issue template for role implementation --- ISSUE-TEMPLATE.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ISSUE-TEMPLATE.md b/ISSUE-TEMPLATE.md index 4c0d46e..bbc4162 100644 --- a/ISSUE-TEMPLATE.md +++ b/ISSUE-TEMPLATE.md @@ -1,16 +1,16 @@ -## Issue Template for helpyourneighbour +## Beschreibung -### Description -Describe the task to be done. +Implementiere die Rollen- und Rechtekonzepte für das Backend. -### Acceptance Criteria -- [ ] Criterion 1 -- [ ] Criterion 2 -- [ ] Criterion 3 +## Aufgaben -### Related Files -- `path/to/file1.js` -- `path/to/file2.js` +- [ ] Implementiere die `requireRole` Middleware korrekt in allen Routen +- [ ] Füge Tests für die Rollenprüfung hinzu +- [ ] Dokumentiere die Rolle in der API-Dokumentation -### Notes -Any additional context or notes. \ No newline at end of file +## Akzeptanzkriterien + +- Alle Endpunkte sind mit korrekter Rollenprüfung ausgestattet +- Integrationstests bestehen +- Die Middleware ist in der Lage, verschiedene Rollen zu prüfen +- Die Dokumentation ist aktuell und korrekt \ No newline at end of file