Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for policies (0.08 sec)

  1. cmd/iam-store.go

    		if c.IsTemp() || c.IsServiceAccount() {
    			continue
    		}
    		var policies []string
    		mp, ok := cache.iamUserPolicyMap.Load(k)
    		if ok {
    			policies = append(policies, mp.Policies)
    			for _, group := range cache.iamUserGroupMemberships[k].ToSlice() {
    				if nmp, ok := cache.iamGroupPolicyMap.Load(group); ok {
    					policies = append(policies, nmp.Policies)
    				}
    			}
    		}
    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/postpolicyform.go

    				}
    				// {"acl": "public-read" } is an alternate way to indicate - [ "eq", "$acl", "public-read" ]
    				// In this case we will just collapse this into "eq" for all use cases.
    				parsedPolicy.Conditions.Policies = append(parsedPolicy.Conditions.Policies, struct {
    					Operator string
    					Key      string
    					Value    string
    				}{
    					policyCondEqual, "$" + strings.ToLower(k), toString(v),
    				})
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. cmd/iam.go

    	if !isOwnerDerived && len(policies) == 0 {
    		return false
    	}
    
    	// 2. Combine the mapped policies into a single combined policy.
    
    	var combinedPolicy policy.Policy
    	// Policies were found, evaluate all of them.
    	if !isOwnerDerived {
    		availablePoliciesStr, c := sys.store.MergePolicies(strings.Join(policies, ","))
    		if availablePoliciesStr == "" {
    			// all policies presented in the claim should exist
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    }
    
    // Check request auth type verifies the incoming http request
    //   - validates the request signature
    //   - validates the policy action if anonymous tests bucket policies if any,
    //     for authenticated requests validates IAM policies.
    //
    // returns APIErrorCode if any to be replied to the client.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	defer cancel()
    
    	policies, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    		c.Fatalf("unable to list policies: %v", err)
    	}
    
    	defaultPolicies := []string{
    		"readwrite",
    		"readonly",
    		"writeonly",
    		"diagnostics",
    		"consoleAdmin",
    	}
    
    	for _, v := range defaultPolicies {
    		if _, ok := policies[v]; !ok {
    			c.Fatalf("Failed to find %s in policies list", v)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    // isIAMPolicyReplicated returns true if count of replicated IAM policies matches total
    // number of sites and IAM policies are identical.
    func isIAMPolicyReplicated(cntReplicated, total int, policies []*policy.Policy) bool {
    	if cntReplicated > 0 && cntReplicated != total {
    		return false
    	}
    	// check if policies match between sites
    	var prev *policy.Policy
    	for i, p := range policies {
    		if i == 0 {
    			prev = p
    			continue
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (1)
  7. cmd/sts-handlers.go

    		// 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 {
    				writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	{
    		// We don't compare the values of the canned policies because server is
    		// re-encoding them. (FIXME?)
    		for k := range content.policies {
    			content.policies[k] = nil
    			gotContent.policies[k] = nil
    		}
    		if !reflect.DeepEqual(content.policies, gotContent.policies) {
    			c.Fatalf("import %d: policies mismatch: expected: %v, got: %v", caseNum, content.policies, gotContent.policies)
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  9. cmd/admin-handlers-users.go

    				if policy.IsEmpty() {
    					err = globalIAMSys.DeletePolicy(ctx, policyName, true)
    					removed.Policies = append(removed.Policies, policyName)
    				} else {
    					_, err = globalIAMSys.SetPolicy(ctx, policyName, policy)
    					added.Policies = append(added.Policies, policyName)
    				}
    				if err != nil {
    					writeErrorResponseJSON(ctx, w, importError(ctx, err, allPoliciesFile, policyName), r.URL)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbOperationException.java

    import jcifs.CIFSException;
    
    /**
     * Unified exception class for SMB operations providing enhanced error handling,
     * retry policies, and contextual information.
     *
     * This exception consolidates the various SMB exception types and provides:
     * - Standardized error codes
     * - Automatic retry policies
     * - Rich contextual information
     * - Error categorization
     * - Performance metrics
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top