Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AccountStatus (0.1 sec)

  1. cmd/iam-store.go

    		}
    		matchedPolicies, _ := filterPolicies(cache, strings.Join(policies, ","), bucket)
    		if len(matchedPolicies) > 0 {
    			result[k] = madmin.UserInfo{
    				PolicyName: matchedPolicies,
    				Status: func() madmin.AccountStatus {
    					if c.IsValid() {
    						return madmin.AccountEnabled
    					}
    					return madmin.AccountDisabled
    				}(),
    				MemberOf: cache.iamUserGroupMemberships[k].ToSlice(),
    			}
    		}
    	}
    
    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

    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // SetUserStatus - sets current user status, supports disabled or enabled.
    func (sys *IAMSys) SetUserStatus(ctx context.Context, accessKey string, status madmin.AccountStatus) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    		return updatedAt, errServerNotInitialized
    	}
    
    	if sys.usersSysType != MinIOUsersSysType {
    		return updatedAt, errIAMActionNotAllowed
    	}
    
    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