defaultACLProvider used if resource-based ACL Provider is not provided or if it does not contain a policy for the named resource
| 30 | // defaultACLProvider used if resource-based ACL Provider is not provided or |
| 31 | // if it does not contain a policy for the named resource |
| 32 | type defaultACLProviderImpl struct { |
| 33 | policyChecker policy.PolicyChecker |
| 34 | |
| 35 | // peer wide policy (currently not used) |
| 36 | pResourcePolicyMap map[string]string |
| 37 | |
| 38 | // channel specific policy |
| 39 | cResourcePolicyMap map[string]string |
| 40 | } |
| 41 | |
| 42 | func newDefaultACLProvider(policyChecker policy.PolicyChecker) defaultACLProvider { |
| 43 | d := &defaultACLProviderImpl{ |
nothing calls this directly
no outgoing calls
no test coverage detected