Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MatchResource (0.15 sec)

  1. cmd/iam-store.go

    	setDefaultCannedPolicies(m)
    
    	cache.iamPolicyDocsMap = m
    	cache.updatedAt = time.Now()
    
    	ret := map[string]policy.Policy{}
    	for k, v := range m {
    		if bucketName == "" || v.Policy.MatchResource(bucketName) {
    			ret[k] = v.Policy
    		}
    	}
    
    	return ret, nil
    }
    
    // ListPolicyDocs - fetches all policy docs from storage and updates cache as well.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top