Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for policy (0.15 sec)

  1. cmd/site-replication.go

    		// collect IAM policy replication status across sites
    		for p, pslc := range policyStats {
    			var policies []*policy.Policy
    			uPolicyCount := 0
    			for _, ps := range pslc {
    				plcy, err := policy.ParseConfig(bytes.NewReader([]byte(ps.SRIAMPolicy.Policy)))
    				if err != nil {
    					continue
    				}
    				policies = append(policies, plcy)
    				uPolicyCount++
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/object-handlers.go

    		s3Error = checkRequestAuthType(ctx, r, policy.GetObjectVersionAttributesAction, bucket, object)
    		if s3Error == ErrNone {
    			s3Error = checkRequestAuthType(ctx, r, policy.GetObjectVersionAction, bucket, object)
    		}
    	} else {
    		s3Error = checkRequestAuthType(ctx, r, policy.GetObjectAttributesAction, bucket, object)
    		if s3Error == ErrNone {
    			s3Error = checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, object)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/server_test.go

    }
    
    // TestBucketPolicy - Inserts the bucket policy and verifies it by fetching the policy back.
    // Deletes the policy and verifies the deletion by fetching it back.
    func (s *TestSuiteCommon) TestBucketPolicy(c *check) {
    	// Sample bucket policy.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	var objectAPI ObjectLayer
    	switch serviceSig {
    	case serviceRestart:
    		objectAPI, _ = validateAdminReq(ctx, w, r, policy.ServiceRestartAdminAction)
    	case serviceStop:
    		objectAPI, _ = validateAdminReq(ctx, w, r, policy.ServiceStopAdminAction)
    	case serviceFreeze, serviceUnFreeze:
    		objectAPI, _ = validateAdminReq(ctx, w, r, policy.ServiceFreezeAdminAction)
    	}
    	if objectAPI == nil {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  5. cmd/object-handlers_test.go

    			instanceType, bucketName, objectName, err)
    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top