Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for policy (0.07 sec)

  1. cmd/admin-handlers-users_test.go

    	// 4. Verify the policy appears in listing
    	ps, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    		c.Fatalf("policy list err: %v", err)
    	}
    	_, ok := ps[policy1]
    	if !ok {
    		c.Fatalf("policy was missing!")
    	}
    
    	// Detach policy1 to set up for policy2
    	_, err = s.adm.DetachPolicy(ctx, madmin.PolicyAssociationReq{
    		Policies: []string{policy1},
    		User:     accessKey,
    	})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  2. 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], ", "))
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        }
    
        public void merge(ArtifactRepositoryPolicy policy) {
            if (policy != null && policy.isEnabled()) {
                setEnabled(true);
    
                if (ordinalOfCksumPolicy(policy.getChecksumPolicy()) < ordinalOfCksumPolicy(getChecksumPolicy())) {
                    setChecksumPolicy(policy.getChecksumPolicy());
                }
    
                if (ordinalOfUpdatePolicy(policy.getUpdatePolicy()) < ordinalOfUpdatePolicy(getUpdatePolicy())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

            boolean enabled = true;
            String checksums = toRepositoryChecksumPolicy(RepositoryPolicy.CHECKSUM_POLICY_WARN); // the default
            String updates = RepositoryPolicy.UPDATE_POLICY_DAILY;
    
            if (policy != null) {
                enabled = policy.isEnabled();
                if (policy.getUpdatePolicy() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-ldap.sh

    	exit_1
    fi
    
    sleep 10
    
    ./mc idp ldap policy entities minio1
    ./mc idp ldap policy entities minio2
    ./mc idp ldap policy entities minio3
    
    ./mc admin service restart minio1
    ./mc admin service restart minio2
    ./mc admin service restart minio3
    
    sleep 10
    
    ./mc idp ldap policy entities minio1
    ./mc idp ldap policy entities minio2
    ./mc idp ldap policy entities minio3
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    		c.Fatalf("Unable to detach user policy: %v", err)
    	}
    
    	_, err = ldapID.Retrieve()
    	if err == nil {
    		c.Fatalf("Expected to fail to create a user with no associated policy!")
    	}
    
    	// Set policy via group and validate policy assignment.
    	groupDN := "cn=projectb,ou=groups,ou=swengg,dc=min,dc=io"
    	groupReq := madmin.PolicyAssociationReq{
    		Policies: []string{policy},
    		Group:    groupDN,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  7. cmd/iam.go

    	sessionPolicyArgs.IsOwner = false
    
    	// Sub policy is set and valid.
    	return hasSessionPolicy, subPolicy.IsAllowed(sessionPolicyArgs)
    }
    
    // GetCombinedPolicy returns a combined policy combining all policies
    func (sys *IAMSys) GetCombinedPolicy(policies ...string) policy.Policy {
    	_, policy := sys.store.MergePolicies(strings.Join(policies, ","))
    	return policy
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  8. 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]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    				return ErrNone
    			}
    		}
    
    		return ErrAccessDenied
    	}
    	if action == policy.DeleteObjectAction && versionID != "" {
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.Action(policy.DeleteObjectVersionAction),
    			BucketName:      bucket,
    			ConditionValues: getConditionValues(r, "", cred),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. 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,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top