Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/admin-handlers-users.go

    )
    
    // RemoveUser - DELETE /minio/admin/v3/remove-user?accessKey=<access_key>
    func (a adminAPIHandlers) RemoveUser(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.DeleteUserAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	accessKey := vars["accessKey"]
    
    	ok, _, err := globalIAMSys.IsTempUser(accessKey)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.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