Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("unable to get svc acc info: %v", err)
    	}
    	if !skipParentUserCheck {
    		c.Assert(infoResp.ParentUser, parentAK)
    	}
    	c.Assert(infoResp.AccountStatus, "on")
    	c.Assert(infoResp.ImpliedPolicy, true)
    }
    
    // This test assumes that the policy for `accessKey` allows listing on the given
    // bucket. It creates a session policy that restricts listing on the bucket and
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    		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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
Back to top