MCPcopy
hub / github.com/hyperledger/fabric / defaultACLProviderImpl

Struct defaultACLProviderImpl

core/aclmgmt/defaultaclprovider.go:32–40  ·  view source on GitHub ↗

defaultACLProvider used if resource-based ACL Provider is not provided or if it does not contain a policy for the named resource

Source from the content-addressed store, hash-verified

30// defaultACLProvider used if resource-based ACL Provider is not provided or
31// if it does not contain a policy for the named resource
32type 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
42func newDefaultACLProvider(policyChecker policy.PolicyChecker) defaultACLProvider {
43 d := &defaultACLProviderImpl{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected