Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for policies (0.05 seconds)

  1. cmd/iam-store.go

    		if c.IsTemp() || c.IsServiceAccount() {
    			continue
    		}
    		var policies []string
    		mp, ok := cache.iamUserPolicyMap.Load(k)
    		if ok {
    			policies = append(policies, mp.Policies)
    			for _, group := range cache.iamUserGroupMemberships[k].ToSlice() {
    				if nmp, ok := cache.iamGroupPolicyMap.Load(group); ok {
    					policies = append(policies, nmp.Policies)
    				}
    			}
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  2. cmd/iam.go

    	if !isOwnerDerived && len(policies) == 0 {
    		return false
    	}
    
    	// 2. Combine the mapped policies into a single combined policy.
    
    	var combinedPolicy policy.Policy
    	// Policies were found, evaluate all of them.
    	if !isOwnerDerived {
    		availablePoliciesStr, c := sys.store.MergePolicies(strings.Join(policies, ","))
    		if availablePoliciesStr == "" {
    			// all policies presented in the claim should exist
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  3. cmd/admin-handlers-users_test.go

    	defer cancel()
    
    	policies, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    		c.Fatalf("unable to list policies: %v", err)
    	}
    
    	defaultPolicies := []string{
    		"readwrite",
    		"readonly",
    		"writeonly",
    		"diagnostics",
    		"consoleAdmin",
    	}
    
    	for _, v := range defaultPolicies {
    		if _, ok := policies[v]; !ok {
    			c.Fatalf("Failed to find %s in policies list", v)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  4. cmd/admin-handlers-users.go

    				if policy.IsEmpty() {
    					err = globalIAMSys.DeletePolicy(ctx, policyName, true)
    					removed.Policies = append(removed.Policies, policyName)
    				} else {
    					_, err = globalIAMSys.SetPolicy(ctx, policyName, policy)
    					added.Policies = append(added.Policies, policyName)
    				}
    				if err != nil {
    					writeErrorResponseJSON(ctx, w, importError(ctx, err, allPoliciesFile, policyName), r.URL)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
Back to Top