Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for targetGroups (0.09 sec)

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

    		ldapPolicies, err := globalIAMSys.PolicyDBGet(targetUser, targetGroups...)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		if len(ldapPolicies) == 0 {
    			err = fmt.Errorf("No policy set for user `%s` or any of their groups: `%s`", opts.claims[ldapActualUser], strings.Join(targetGroups, "`,`"))
    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

    		return
    	}
    
    	if createReq.AccessKey == globalActiveCred.AccessKey {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    	var (
    		targetGroups []string
    		err          error
    	)
    
    	// Find the user for the request sender (as it may be sent via a service
    	// account or STS account):
    	requestorUser := cred.AccessKey
    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