Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setDefaultCannedPolicies (0.15 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-object-store.go

    		if firstTime {
    			bootstrapTraceMsg(s)
    		}
    	}
    
    	if iamOS.objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	bootstrapTraceMsgFirstTime("loading all IAM items")
    
    	setDefaultCannedPolicies(cache.iamPolicyDocsMap)
    
    	listStartTime := UTCNow()
    	listedConfigItems, err := iamOS.listAllIAMConfigItems(ctx)
    	if err != nil {
    		return fmt.Errorf("unable to list IAM data: %w", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. 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