Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ut_user (0.19 sec)

  1. cmd/iam.go

    		var oldDN string
    		if isGroup {
    			oldDN = r.Group
    		} else {
    			oldDN = r.User
    		}
    		if oldDN != dn {
    			sys.store.PolicyDBUpdate(ctx, oldDN, isGroup, stsUser, r.Policies, isAttach)
    		}
    	}
    
    	userType := stsUser
    	updatedAt, addedOrRemoved, effectivePolicies, err = sys.store.PolicyDBUpdate(
    		ctx, dn, isGroup, userType, r.Policies, isAttach)
    	if err != nil {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/iam-store.go

    	defer store.unlock()
    
    	// 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)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/iam-etcd-store.go

    func (ies *IAMEtcdStore) loadUsers(ctx context.Context, userType IAMUserType, m map[string]UserIdentity) error {
    	var basePrefix string
    	switch userType {
    	case svcUser:
    		basePrefix = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePrefix = iamConfigSTSPrefix
    	default:
    		basePrefix = iamConfigUsersPrefix
    	}
    
    	cctx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    	userType := IAMUserType(mapping.UserType)
    	isGroup := mapping.IsGroup
    	entityName := mapping.UserOrGroup
    	if globalIAMSys.GetUsersSysType() == LDAPUsersSysType && userType == stsUser {
    
    		// Validate that the user or group exists in LDAP and use the normalized
    		// form of the entityName (which will be an LDAP DN).
    		var err error
    		if isGroup {
    			var foundGroupDN string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/peer-rest-server.go

    	}
    
    	temp, err := strconv.ParseBool(mss.Get(peerRESTUserTemp))
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	userType := regUser
    	if temp {
    		userType = stsUser
    	}
    
    	if err = globalIAMSys.LoadUser(context.Background(), objAPI, accessKey, userType); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. cmd/iam-object-store.go

    	var basePrefix string
    	switch userType {
    	case svcUser:
    		basePrefix = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePrefix = iamConfigSTSPrefix
    	default:
    		basePrefix = iamConfigUsersPrefix
    	}
    
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	userType := regUser
    	if globalIAMSys.GetUsersSysType() == LDAPUsersSysType {
    		userType = stsUser
    
    		// Validate that the user or group exists in LDAP and use the normalized
    		// form of the entityName (which will be an LDAP DN).
    		var err error
    		if isGroup {
    			var foundGroupDN string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top