Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stsMap (0.05 sec)

  1. cmd/iam-store.go

    	// Load existing policy mapping
    	var mp MappedPolicy
    	if !isGroup {
    		if userType == stsUser {
    			stsMap := xsync.NewMapOf[string, MappedPolicy]()
    
    			// Attempt to load parent user mapping for STS accounts
    			store.loadMappedPolicy(context.TODO(), name, stsUser, false, stsMap)
    
    			mp, _ = stsMap.Load(name)
    		} else {
    			mp, _ = cache.iamUserPolicyMap.Load(name)
    		}
    	} else {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    		return nil, errIAMActionNotAllowed
    	}
    
    	select {
    	case <-sys.configLoaded:
    		stsMap, err := sys.store.GetAllSTSUserMappings(sys.LDAPConfig.IsLDAPUserDN)
    		if err != nil {
    			return nil, err
    		}
    		ldapUsers := make(map[string]madmin.UserInfo, len(stsMap))
    		for user, policy := range stsMap {
    			ldapUsers[user] = madmin.UserInfo{
    				PolicyName: policy,
    				Status:     statusEnabled,
    			}
    		}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top