Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetGroupStatus (0.06 sec)

  1. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, body)
    }
    
    // SetGroupStatus - PUT /minio/admin/v3/set-group-status?group=mygroup1&status=enabled
    func (a adminAPIHandlers) SetGroupStatus(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.EnableGroupAdminAction)
    	if objectAPI == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if err != nil {
    		return updatedAt, err
    	}
    
    	sys.notifyForGroup(ctx, group)
    	return updatedAt, nil
    }
    
    // SetGroupStatus - enable/disabled a group
    func (sys *IAMSys) SetGroupStatus(ctx context.Context, group string, enabled bool) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    		return updatedAt, errServerNotInitialized
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    		cache.updatedAt = time.Now()
    		return cache.updatedAt, nil
    	}
    
    	return removeMembersFromGroup(ctx, store, cache, group, members, false)
    }
    
    // SetGroupStatus - updates group status
    func (store *IAMStoreSys) SetGroupStatus(ctx context.Context, group string, enabled bool) (updatedAt time.Time, err error) {
    	if group == "" {
    		return updatedAt, errInvalidArgument
    	}
    
    	cache := store.lock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top