- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for policyEntities (0.06 sec)
-
cmd/iam-store.go
pe.Policy = policy pe.Users = s m[policy] = pe } policyEntities := make([]madmin.PolicyEntities, 0, len(m)) for _, v := range m { policyEntities = append(policyEntities, v) } sort.Slice(policyEntities, func(i, j int) bool { return policyEntities[i].Policy < policyEntities[j].Policy }) return policyEntities } // ListPolicyMappings - return users/groups mapped to policies.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0) -
cmd/sts-handlers_test.go
if err != nil { c.Fatalf("Unable to get policy entities: %v", err) } expected := madmin.PolicyEntitiesResult{ PolicyMappings: []madmin.PolicyEntities{ { Policy: "consoleAdmin", Users: []string{"uid=dillon,ou=people,ou=swengg,dc=min,dc=io"}, Groups: []string{"cn=project.c,ou=groups,ou=swengg,dc=min,dc=io"}, }, }, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0)