Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 330 for policy (0.21 sec)

  1. cmd/admin-handlers-site-replication.go

    	case madmin.SRIAMItemPolicy:
    		if item.Policy == nil {
    			err = globalSiteReplicationSys.PeerAddPolicyHandler(ctx, item.Name, nil, item.UpdatedAt)
    		} else {
    			policy, perr := policy.ParseConfig(bytes.NewReader(item.Policy))
    			if perr != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, perr), r.URL)
    				return
    			}
    			if policy.IsEmpty() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            File repoDir = new File(getBasedir(), "src/test/remote-repo").getAbsoluteFile();
    
            RepositoryPolicy policy = new RepositoryPolicy();
            policy.setEnabled(true);
            policy.setChecksumPolicy("ignore");
            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(RepositorySystem.DEFAULT_REMOTE_REPO_ID);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-ldap.go

    //	policy mapping
    //
    //	policy=... -> repeatable query parameter, specifying policy to query for
    //	user/group mapping
    //
    // When all query parameters are omitted, returns mappings for all policies.
    func (a adminAPIHandlers) ListLDAPPolicyMappingEntities(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Check authorization.
    
    	objectAPI, cred := validateAdminReq(ctx, w, r,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. cmd/admin-handlers-config-kv.go

    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // DelConfigKVHandler - DELETE /minio/admin/v3/del-config-kv
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_replication.sh

         }
        ]
       }
    EOF
    mc admin policy create source repladmin-policy ./repladmin-policy-source.json
    cat ./repladmin-policy-source.json
    
    #assign this replication policy to repladmin
    mc admin policy attach source repladmin-policy --user=repladmin
    
    ### on dest alias
    # Create a replication user : repluser on dest alias
    mc admin user add dest repluser repluser123
    
    # create a replication policy for repluser
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. internal/config/browser/browser.go

    	browserHSTSPreload = "hsts_preload"
    	// browserReferrerPolicy setting name for Referrer-Policy response header
    	browserReferrerPolicy = "referrer_policy"
    
    	EnvBrowserCSPPolicy             = "MINIO_BROWSER_CONTENT_SECURITY_POLICY"
    	EnvBrowserHSTSSeconds           = "MINIO_BROWSER_HSTS_SECONDS"
    	EnvBrowserHSTSIncludeSubdomains = "MINIO_BROWSER_HSTS_INCLUDE_SUB_DOMAINS"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. helm/minio/README.md

    ```
    kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}"
    ```
    
    When using `Cilium` as a CNI in your cluster, please edit the `flavor` field to `cilium`.
    
    With NetworkPolicy enabled, traffic will be limited to just port 9000.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 24 07:27:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users-race_test.go

    	defer cancel()
    
    	bucket := getRandomBucketName()
    	err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	// Create a policy policy
    	policy := "mypolicy"
    	policyBytes := []byte(fmt.Sprintf(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket"
       ],
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. cmd/postpolicyform.go

    		formCanonicalName := http.CanonicalHeaderKey(strings.TrimPrefix(policy.Key, "$"))
    		// Operator for the current policy condition
    		op := policy.Operator
    		// Multiple values should not occur
    		if len(checkHeader[formCanonicalName]) >= 2 {
    			return fmt.Errorf("Invalid according to Policy: Policy Condition failed: [%s, %s, %s]. FormValues have multiple values: [%s]", op, policy.Key, policy.Value, strings.Join(checkHeader[formCanonicalName], ", "))
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. helm/minio/templates/_helper_create_user.txt

      rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
    
      # set policy for user
      if [ ! -z $POLICY -a $POLICY != " " ] ; then
          echo "Adding policy '$POLICY' for '$USER'"
          set +e ; # policy already attach errors out, allow it.
          ${MC} admin policy attach myminio $POLICY --user=$USER
          set -e
      else
          echo "User '$USER' has no policy attached."
      fi
    }
    
    # Try connecting to MinIO instance
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top