Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for validateAdminReq (0.13 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{
    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/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")
    
    	resultCh := make(chan itemOrErr[ObjectInfo])
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top