Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetCombinedPolicy (0.1 sec)

  1. cmd/iam.go

    	sessionPolicyArgs.IsOwner = false
    
    	// Sub policy is set and valid.
    	return hasSessionPolicy, subPolicy.IsAllowed(sessionPolicyArgs)
    }
    
    // GetCombinedPolicy returns a combined policy combining all policies
    func (sys *IAMSys) GetCombinedPolicy(policies ...string) policy.Policy {
    	_, policy := sys.store.MergePolicies(strings.Join(policies, ","))
    	return policy
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    			return
    		}
    		policySlice := newMappedPolicy(policy).toSlice()
    		effectivePolicy = globalIAMSys.GetCombinedPolicy(policySlice...)
    
    	case hasPolicyClaim:
    		effectivePolicy = globalIAMSys.GetCombinedPolicy(policySetFromClaims.ToSlice()...)
    
    	default:
    		policies, err := globalIAMSys.PolicyDBGet(accountName, cred.Groups...)
    		if err != 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)
Back to top