http: GET /api/users (list)

This commit is contained in:
2026-05-05 09:34:11 +01:00
parent 57a13f0759
commit a985d45daa
4 changed files with 88 additions and 4 deletions
-4
View File
@@ -144,10 +144,6 @@ func TestLoginRejectsDisabledUser(t *testing.T) {
func TestAdminBandRejectsOperator(t *testing.T) {
t.Parallel()
// This test will start asserting 403 once Task B4 mounts /api/users
// inside the admin band and Task E1 lands the handler. Until then,
// the route 404s — we skip rather than red-flag the suite.
t.Skip("re-enable after B4 route grouping + E1 /api/users handler land")
srv, urlBase := newTestServer(t, false)
makeUser(t, srv, "admin1", store.RoleAdmin)
opID := makeUser(t, srv, "op1", store.RoleOperator)