- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for policySet (0.09 sec)
-
cmd/iam-store.go
for policy := range strings.SplitSeq(mp.Policies, ",") { if strings.TrimSpace(policy) == "" { continue } policies = append(policies, policy) } return policies } func (mp MappedPolicy) policySet() set.StringSet { return set.CreateStringSet(mp.toSlice()...) } func newMappedPolicy(policy string) MappedPolicy { return MappedPolicy{Version: 1, Policies: policy, UpdatedAt: UTCNow()} }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0) -
cmd/iam.go
// to return an error. policiesDiffer := false firstMappedPolicies := policyMap[origKeys[0]].policySet() for i := 1; i < len(origKeys); i++ { otherMappedPolicies := policyMap[origKeys[i]].policySet() if !firstMappedPolicies.Equals(otherMappedPolicies) { policiesDiffer = true break } } if policiesDiffer {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0) -
cmd/admin-handlers-users.go
if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } if len(policiesNames) == 0 { policySet, _ := args.GetPolicies(iamPolicyClaimNameOpenID()) policiesNames = policySet.ToSlice() } stsAccountPolicy = globalIAMSys.GetCombinedPolicy(policiesNames...) } policyJSON, err := json.MarshalIndent(stsAccountPolicy, "", " ")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0)