Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for policySet (0.05 sec)

  1. cmd/iam-store.go

    	for policy := range strings.SplitSeq(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    		}
    		policies = append(policies, policy)
    	}
    	return policies
    }
    
    func (mp MappedPolicy) policySet() set.StringSet {
    	return set.CreateStringSet(mp.toSlice()...)
    }
    
    func newMappedPolicy(policy string) MappedPolicy {
    	return MappedPolicy{Version: 1, Policies: policy, UpdatedAt: UTCNow()}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  2. cmd/iam.go

    			// to return an error.
    			policiesDiffer := false
    			firstMappedPolicies := policyMap[origKeys[0]].policySet()
    			for i := 1; i < len(origKeys); i++ {
    				otherMappedPolicies := policyMap[origKeys[i]].policySet()
    				if !firstMappedPolicies.Equals(otherMappedPolicies) {
    					policiesDiffer = true
    					break
    				}
    			}
    
    			if policiesDiffer {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    		// JWT. This is a MinIO STS API specific value, this value
    		// should be set and configured on your identity provider as
    		// part of JWT custom claims.
    		policySet, ok := policy.GetPoliciesFromClaims(claims, iamPolicyClaimNameOpenID())
    		policies := strings.Join(policySet.ToSlice(), ",")
    		if ok {
    			policyName = globalIAMSys.CurrentPolicies(policies)
    		}
    
    		if newGlobalAuthZPluginFn() == nil {
    			if !ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		if len(policiesNames) == 0 {
    			policySet, _ := args.GetPolicies(iamPolicyClaimNameOpenID())
    			policiesNames = policySet.ToSlice()
    		}
    
    		stsAccountPolicy = globalIAMSys.GetCombinedPolicy(policiesNames...)
    	}
    
    	policyJSON, err := json.MarshalIndent(stsAccountPolicy, "", " ")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers_test.go

    		// length in bytes of the bucket policy being set.
    		policyLen int
    		accessKey string
    		secretKey string
    		// expected Response.
    		expectedRespStatus int
    	}{
    		// Test case - 1.
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: bytes.NewReader(fmt.Appendf(nil, bucketPolicyTemplate, bucketName, bucketName)),
    
    			policyLen:          len(fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName)),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    	}
    	defer conn.Close()
    
    	for i, testCase := range cases {
    		if testCase.group != "" {
    			policyReq.Group = testCase.group
    			policyReq.User = ""
    		} else {
    			policyReq.User = testCase.dn
    			policyReq.Group = ""
    		}
    
    		if _, err := s.adm.AttachPolicyLDAP(ctx, policyReq); err != nil {
    			c.Fatalf("Unable to attach  policy: %v", err)
    		}
    
    		ldapID := cr.LDAPIdentity{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  7. docs/sts/ldap.md

    ```sh
    mc admin policy create myminio mypolicy mypolicy.json
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    off.ai
    com.ai
    net.ai
    org.ai
    
    // al : http://www.ert.gov.al/ert_alb/faq_det.html?Id=31
    al
    com.al
    edu.al
    gov.al
    mil.al
    net.al
    org.al
    
    // am : https://www.amnic.net/policy/en/Policy_EN.pdf
    am
    co.am
    com.am
    commune.am
    net.am
    org.am
    
    // ao : https://www.iana.org/domains/root/db/ao.html
    // http://www.dns.ao/REGISTR.DOC
    ao
    ed.ao
    edu.ao
    gov.ao
    gv.ao
    og.ao
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (0)
Back to top