- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetPoliciesFromClaims (0.2 sec)
-
cmd/iam.go
iamLogIf(GlobalContext, err) return false } // Finally, if there is no parent policy, check if a policy claim is // present. if len(svcPolicies) == 0 { policySet, _ := policy.GetPoliciesFromClaims(args.Claims, iamPolicyClaimNameOpenID()) svcPolicies = policySet.ToSlice() } } // Defensive code: Do not allow any operation if no policy is found. if !isOwnerDerived && len(svcPolicies) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
cmd/admin-handlers-users.go
// For derived credentials, check the parent user's permissions. accountName = cred.ParentUser } roleArn := policy.Args{Claims: cred.Claims}.GetRoleArn() policySetFromClaims, hasPolicyClaim := policy.GetPoliciesFromClaims(cred.Claims, iamPolicyClaimNameOpenID()) var effectivePolicy policy.Policy var buf []byte switch { case accountName == globalActiveCred.AccessKey || newGlobalAuthZPluginFn() != nil:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0)