Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for doesPolicyAllow (0.07 sec)

  1. cmd/iam.go

    	_, policy := sys.store.MergePolicies(strings.Join(policies, ","))
    	return policy
    }
    
    // doesPolicyAllow - checks if the given policy allows the passed action with given args. This is rarely needed.
    // Notice there is no account name involved, so this is a dangerous function.
    func (sys *IAMSys) doesPolicyAllow(policy string, args policy.Args) bool {
    	// Policies were found, evaluate all of them.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    						fmt.Errorf("None of the given policies (`%s`) are defined, credentials will not be generated", p))
    					return
    				}
    			}
    		}
    
    		if !globalIAMSys.doesPolicyAllow(p, policy.Args{
    			DenyOnly:        true,
    			Action:          policy.AssumeRoleWithWebIdentityAction,
    			ConditionValues: getSTSConditionValues(r, "", cred),
    			Claims:          cred.Claims,
    		}) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top