djalim
|
9368e68622
|
refactor(notes): replace AuthenticatedState with withRules, simplify handlers
refactor: add withRules wrapper to API routes
Use withRules to enforce permissions instead of manual checks.
Remove FORBIDDEN constant, simplify handlers, import withRules,
adjust GET/POST/PUT/DELETE handlers.
Centralizes auth logic.
refactor: replace manual auth checks with withRules wrapper for routes
refactor(student routes): replace manual employee checks with withRules wrapper
|
2026-04-27 19:45:26 +02:00 |
|