Skip to content

Commit

Permalink
Groups page ux refactor (#1183)
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashsvmx committed Nov 3, 2021
1 parent acd785d commit 4e7559f
Show file tree
Hide file tree
Showing 6 changed files with 568 additions and 105 deletions.
2 changes: 2 additions & 0 deletions pkg/acl/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ var (
users = "/users"
usersDetail = "/users/:userName+"
groups = "/groups"
groupsDetails = "/groups/:groupName+"
iamPolicies = "/policies"
policiesDetail = "/policies/*"
dashboard = "/dashboard"
Expand Down Expand Up @@ -317,6 +318,7 @@ var endpointRules = map[string]ConfigurationActionSet{
users: usersActionSet,
usersDetail: usersActionSet,
groups: groupsActionSet,
groupsDetails: groupsActionSet,
iamPolicies: iamPoliciesActionSet,
policiesDetail: iamPoliciesActionSet,
dashboard: dashboardActionSet,
Expand Down
4 changes: 2 additions & 2 deletions pkg/acl/endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
"admin:*",
},
},
want: 32,
want: 33,
},
{
name: "all s3 endpoints",
Expand All @@ -89,7 +89,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
"s3:*",
},
},
want: 34,
want: 35,
},
{
name: "Console User - default endpoints",
Expand Down

0 comments on commit 4e7559f

Please sign in to comment.