Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for user_exists (0.91 sec)

  1. cmd/iam-store.go

    	cache := store.rlock()
    	defer store.runlock()
    
    	userExists := false
    	var tempAccounts []UserIdentity
    	for _, v := range cache.iamUsersMap {
    		isDerived := false
    		if v.Credentials.IsServiceAccount() || v.Credentials.IsTemp() {
    			isDerived = true
    		}
    
    		if !isDerived && v.Credentials.AccessKey == accessKey {
    			userExists = true
    		} else if isDerived && v.Credentials.ParentUser == accessKey {
    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

    		if userOrGroup == globalActiveCred.AccessKey {
    			err = errIAMActionNotAllowed
    			return
    		}
    
    		// Validate that user exists.
    		var userExists bool
    		_, userExists = sys.GetUser(ctx, userOrGroup)
    		if !userExists {
    			err = errNoSuchUser
    			return
    		}
    	}
    
    	updatedAt, addedOrRemoved, effectivePolicies, err = sys.store.PolicyDBUpdate(ctx, userOrGroup, isGroup,
    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