gohorsejobs/backend/internal/api
Tiago Yamamoto 73967ca52b fix(users): allow superadmin to list all users without tenant restriction
- Modified ListUsers handler to check for admin/superadmin role
- Superadmins can now list all users across tenants
- Added ListUsers method to AdminService
- Added Status field to dto.User

Fixes 403 error when superadmin tries to access /api/v1/users
2025-12-26 00:51:54 -03:00
..
handlers fix(users): allow superadmin to list all users without tenant restriction 2025-12-26 00:51:54 -03:00
middleware debug: add RBAC logging to RequireRoles middleware 2025-12-26 00:42:55 -03:00