Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetPoliciesFromClaims (0.12 sec)

  1. 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)
Back to top