Skip to content

Commit 4e7559f

Browse files
authored
Groups page ux refactor (#1183)
1 parent acd785d commit 4e7559f

File tree

6 files changed

+568
-105
lines changed

6 files changed

+568
-105
lines changed

pkg/acl/endpoints.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ var (
3333
users = "/users"
3434
usersDetail = "/users/:userName+"
3535
groups = "/groups"
36+
groupsDetails = "/groups/:groupName+"
3637
iamPolicies = "/policies"
3738
policiesDetail = "/policies/*"
3839
dashboard = "/dashboard"
@@ -317,6 +318,7 @@ var endpointRules = map[string]ConfigurationActionSet{
317318
users: usersActionSet,
318319
usersDetail: usersActionSet,
319320
groups: groupsActionSet,
321+
groupsDetails: groupsActionSet,
320322
iamPolicies: iamPoliciesActionSet,
321323
policiesDetail: iamPoliciesActionSet,
322324
dashboard: dashboardActionSet,

pkg/acl/endpoints_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
7070
"admin:*",
7171
},
7272
},
73-
want: 32,
73+
want: 33,
7474
},
7575
{
7676
name: "all s3 endpoints",
@@ -89,7 +89,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
8989
"s3:*",
9090
},
9191
},
92-
want: 34,
92+
want: 35,
9393
},
9494
{
9595
name: "Console User - default endpoints",

0 commit comments

Comments
 (0)