Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for policy_name (0.05 sec)

  1. cmd/site-replication.go

    // causes the named policy to be deleted.
    func (c *SiteReplicationSys) PeerAddPolicyHandler(ctx context.Context, policyName string, p *policy.Policy, updatedAt time.Time) error {
    	var err error
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if p, err := globalIAMSys.store.GetPolicyDoc(policyName); err == nil && p.UpdateDate.After(updatedAt) {
    			return nil
    		}
    	}
    	if p == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("list users should not fail: %v", err)
    	}
    	if len(usersList) != 1 {
    		c.Fatalf("expected user listing output: %v", usersList)
    	}
    	uinfo := usersList[userDN]
    	if uinfo.PolicyName != policy || uinfo.Status != madmin.AccountEnabled {
    		c.Fatalf("expected user listing content: %v", uinfo)
    	}
    
    	// Validate that the client from sts creds can access the bucket.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
Back to top