Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/iam-store.go

    	for _, policy := range strings.Split(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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    	// running server by creating the policies after start up.
    	for arn, rolePolicies := range m {
    		specifiedPoliciesSet := newMappedPolicy(rolePolicies).policySet()
    		validPolicies, _ := sys.store.MergePolicies(rolePolicies)
    		knownPoliciesSet := newMappedPolicy(validPolicies).policySet()
    		unknownPoliciesSet := specifiedPoliciesSet.Difference(knownPoliciesSet)
    		if len(unknownPoliciesSet) > 0 {
    			authz := newGlobalAuthZPluginFn()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K 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([]byte(fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName))),
    
    			policyLen:          len(fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName)),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  7. docs/sts/ldap.md

    ```sh
    mc admin policy create myminio mypolicy mypolicy.json
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. okhttp/src/test/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://en.wikipedia.org/wiki/.ao
    // http://www.dns.ao/REGISTR.DOC
    ao
    ed.ao
    gv.ao
    og.ao
    co.ao
    pb.ao
    it.ao
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
Back to top