Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/admin-handlers-idp-ldap.go

    	}
    
    	dnList := r.Form["userDNs"]
    	isAll := r.Form.Get("all") == "true"
    	selfOnly := !isAll && len(dnList) == 0
    
    	if isAll && len(dnList) > 0 {
    		// This should be checked on client side, so return generic error
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	// Empty DN list and not self, list access keys for all users
    	if isAll {
    		if !globalIAMSys.IsAllowed(policy.Args{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	users := r.Form["users"]
    	isAll := r.Form.Get("all") == "true"
    	selfOnly := !isAll && len(users) == 0
    
    	if isAll && len(users) > 0 {
    		// This should be checked on client side, so return generic error
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top