Commit graph

4 commits

Author SHA1 Message Date
BibaBot Jarvis
7c9862a08a feat: implement role-based access control and auth routes
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-16 00:07:16 +00:00
BibaBot Jarvis
753b54e0e1 feat: implement role-based access control and auth routes
Some checks are pending
Docker Test / test (push) Waiting to run
This commit implements the role-based access control middleware and adds auth routes with proper role checks for user, moderator, and admin roles as defined in the documentation.
2026-03-15 22:06:51 +00:00
BibaBot Jarvis
37df062f3b feat: implement role-based access control and auth routes
Some checks are pending
Docker Test / test (push) Waiting to run
This commit implements the role-based access control system as outlined in the project documentation. It includes:
- A requireRole middleware for protecting routes
- Auth routes for registration, login, profile management
- Audit logging for sensitive actions
- Role management endpoints
- Updated app.js to include audit logging middleware
2026-03-15 21:07:22 +00:00
BibaBot Jarvis
e278ee3da5 feat: implement role-based access control and auth routes
Some checks are pending
Docker Test / test (push) Waiting to run
This commit implements the role-based access control middleware and authentication routes as per the project's requirements. It includes:
2026-03-15 20:07:14 +00:00