long-agent
a6a0e58340
test: add more UserHandler tests for RBAC coverage
Add tests for UserHandler permission checks:
- TestUserHandler_UpdateUserStatus_RequiresAdmin
- TestUserHandler_GetUserRoles_Success
- TestUserHandler_AssignRoles_RequiresAdmin
- TestUserHandler_BatchUpdateStatus_RequiresAdmin
- TestUserHandler_BatchDelete_RequiresAdmin
- TestUserHandler_BatchDelete_EmptyIDs_RequiresAdmin
These tests verify that admin-only endpoints properly return 403
for non-admin users (RBAC security validation).
2026-04-09 14:00:42 +08:00
..
2026-04-09 14:00:42 +08:00
2026-04-09 09:55:55 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
2026-04-08 22:31:43 +08:00
2026-04-07 12:08:16 +08:00
2026-04-07 07:23:29 +08:00
2026-04-07 12:08:16 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
2026-04-07 18:10:36 +08:00
2026-04-07 07:23:29 +08:00
2026-04-07 18:10:36 +08:00
2026-04-08 22:50:42 +08:00
2026-04-09 09:57:58 +08:00
2026-04-07 12:08:16 +08:00
2026-04-07 17:46:25 +08:00
2026-04-08 22:50:42 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00