Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setDefaultCannedPolicies (0.14 sec)

  1. cmd/iam-store.go

    type iamStorageWatcher interface {
    	watch(ctx context.Context, keyPath string) <-chan iamWatchEvent
    }
    
    // Set default canned policies only if not already overridden by users.
    func setDefaultCannedPolicies(policies map[string]PolicyDoc) {
    	for _, v := range policy.DefaultPolicies {
    		if _, ok := policies[v.Name]; !ok {
    			policies[v.Name] = defaultPolicyDoc(v.Definition)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    			}
    			iamLogIf(ctx, fmt.Errorf("IAM sub-system is partially initialized, unable to write the IAM format: %w", err), logger.WarningKind)
    			return
    		}
    
    		break
    	}
    
    	cache := sys.store.lock()
    	setDefaultCannedPolicies(cache.iamPolicyDocsMap)
    	sys.store.unlock()
    
    	// Load RoleARNs
    	sys.rolesMap = make(map[arn.ARN]string)
    
    	// From OpenID
    	if riMap := sys.OpenIDConfig.GetRoleInfo(); riMap != nil {
    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