Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for policy (0.24 sec)

  1. cmd/bucket-policy.go

    	return args
    }
    
    // PolicyToBucketAccessPolicy converts a MinIO policy into a minio-go policy data structure.
    func PolicyToBucketAccessPolicy(bucketPolicy *policy.BucketPolicy) (*miniogopolicy.BucketAccessPolicy, error) {
    	// Return empty BucketAccessPolicy for empty bucket policy.
    	if bucketPolicy == nil {
    		return &miniogopolicy.BucketAccessPolicy{Version: policy.DefaultVersion}, nil
    	}
    
    	data, err := json.Marshal(bucketPolicy)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers.go

    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	// As per AWS S3 specification, 20KiB policy JSON data is allowed.
    	maxBucketPolicySize = 20 * humanize.KiByte
    
    	// Policy configuration file.
    	bucketPolicyConfig = "policy.json"
    )
    
    // PutBucketPolicyHandler - This HTTP handler stores given bucket policy configuration as per
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	// Generate the final policy document
    	policy = fmt.Sprintf(policy, dates...)
    
    	region := "us-east-1"
    	// Create a new POST request with success_action_redirect field specified
    	req, perr := newPostRequestV4Generic("", bucketName, keyName, []byte("objData"),
    		credentials.AccessKey, credentials.SecretKey, region, curTime,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    	}
    
    	roleArn := policy.Args{Claims: cred.Claims}.GetRoleArn()
    	policySetFromClaims, hasPolicyClaim := policy.GetPoliciesFromClaims(cred.Claims, iamPolicyClaimNameOpenID())
    	var effectivePolicy policy.Policy
    
    	var buf []byte
    	switch {
    	case accountName == globalActiveCred.AccessKey:
    		for _, policy := range policy.DefaultPolicies {
    			if policy.Name == "consoleAdmin" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    func (store *IAMStoreSys) GetPolicy(name string) (policy.Policy, error) {
    	if name == "" {
    		return policy.Policy{}, errInvalidArgument
    	}
    
    	cache := store.rlock()
    	defer store.runlock()
    
    	policies := newMappedPolicy(name).toSlice()
    	var toMerge []policy.Policy
    	for _, policy := range policies {
    		if policy == "" {
    			continue
    		}
    		v, ok := cache.iamPolicyDocsMap[policy]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  7. docs/distributed/decom-compressed-sse-s3.sh

    pid_2=$!
    
    sleep 30
    
    expanded_user_count=$(./mc admin user list myminio/ | wc -l)
    expanded_policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    if [ $user_count -ne $expanded_user_count ]; then
    	echo "BUG: original user count differs from expanded setup"
    	exit 1
    fi
    
    if [ $policy_count -ne $expanded_policy_count ]; then
    	echo "BUG: original policy count  differs from expanded setup"
    	exit 1
    fi
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. docs/distributed/decom-encrypted.sh

    pid_2=$!
    
    sleep 30
    
    expanded_user_count=$(./mc admin user list myminio/ | wc -l)
    expanded_policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    if [ $user_count -ne $expanded_user_count ]; then
    	echo "BUG: original user count differs from expanded setup"
    	exit 1
    fi
    
    if [ $policy_count -ne $expanded_policy_count ]; then
    	echo "BUG: original policy count  differs from expanded setup"
    	exit 1
    fi
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. docs/distributed/decom-encrypted-sse-s3.sh

    pid_2=$!
    
    sleep 30
    
    expanded_user_count=$(./mc admin user list myminio/ | wc -l)
    expanded_policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    if [ $user_count -ne $expanded_user_count ]; then
    	echo "BUG: original user count differs from expanded setup"
    	exit 1
    fi
    
    if [ $policy_count -ne $expanded_policy_count ]; then
    	echo "BUG: original policy count  differs from expanded setup"
    	exit 1
    fi
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://wicg.github.io/cross-origin-embedder-policy/#COEP-RO">{@code
       * Cross-Origin-Embedder-Policy-Report-Only}</a> header field name.
       *
       * @since 30.0
       */
      public static final String CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY =
          "Cross-Origin-Embedder-Policy-Report-Only";
      /**
       * The HTTP Cross-Origin-Opener-Policy header field name.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top