Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for APPLICATION (0.15 sec)

  1. cmd/iam.go

    	//
    	// However, for a policy like `{"Statement":[]}`, the intention is to not
    	// provide any permissions via the session policy - i.e. the service account
    	// can do nothing (such a JSON could be generated by an external application
    	// as the policy for the service account). Inheriting the parent policy in
    	// such a case, is a security issue. Ideally, we should not allow such
    	// behavior, but for compatibility with the Console, we currently allow it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/batch-handlers.go

    	if err != nil {
    		return err
    	}
    
    	if token != "" {
    		req.Header.Set("Authorization", token)
    	}
    	req.Header.Set("Content-Type", "application/json")
    
    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    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)
  3. cmd/admin-handlers-users.go

    		return
    	}
    
    	// Ensure body content type is opaque to ensure that request body has not
    	// been interpreted as form data.
    	contentType := r.Header.Get("Content-Type")
    	if contentType != "application/octet-stream" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	operation := mux.Vars(r)["operation"]
    	if operation != "attach" && operation != "detach" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    	// create xlStorage test setup
    	xlStorage, _, err := newXLStorageTestSetup(t)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top