Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetPoliciesFromClaims (0.33 sec)

  1. cmd/sts-handlers.go

    		// JWT. This is a MinIO STS API specific value, this value
    		// should be set and configured on your identity provider as
    		// part of JWT custom claims.
    		policySet, ok := policy.GetPoliciesFromClaims(claims, iamPolicyClaimNameOpenID())
    		policies := strings.Join(policySet.ToSlice(), ",")
    		if ok {
    			policyName = globalIAMSys.CurrentPolicies(policies)
    		}
    
    		if newGlobalAuthZPluginFn() == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. 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:
    		for _, policy := range policy.DefaultPolicies {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top