Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for statement (0.15 sec)

  1. cmd/test-utils_test.go

    //	anonReq   - unsigned *http.Request to invoke the handler's response for anonymous requests.
    //	policyFunc    - function to return bucketPolicy statement which would permit the anonymous request to be served.
    //
    // The test works in 2 steps, here is the description of the steps.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    		sp, err = policy.ParseConfig(bytes.NewReader(updateReq.NewPolicy))
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		if sp.Version == "" && len(sp.Statements) == 0 {
    			sp = nil
    		}
    	}
    	opts := updateServiceAccountOpts{
    		secretKey:     updateReq.NewSecretKey,
    		status:        updateReq.NewStatus,
    		name:          updateReq.NewName,
    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)
Back to top