Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for validateAdminReq (0.16 sec)

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

    func (a adminAPIHandlers) ListLDAPPolicyMappingEntities(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Check authorization.
    
    	objectAPI, cred := validateAdminReq(ctx, w, r,
    		policy.ListGroupsAdminAction, policy.ListUsersAdminAction, policy.ListUserPoliciesAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	// Validate API arguments.
    
    	q := madmin.PolicyEntitiesQuery{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    // input to list only active batch jobs of 'jobType'
    func (a adminAPIHandlers) ListBatchJobs(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ListBatchJobsAction)
    	if objectAPI == nil {
    		return
    	}
    
    	jobType := r.Form.Get("jobType")
    	if jobType == "" {
    		jobType = string(madmin.BatchJobReplicate)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top