IBM Hyperledger Fabric issue.
problem:
t: Participant 'org.acme.airline.participant.ACMENetworkAdmin#johnd' does not have 'READ' access to resource 'org.hyperledger.composer.system.Network#airline@0.0.2-deploy.3'
solution:
This is because yo generator generates permission.acl by default.
Therefore, add access rule to the permission.acl file as below.
permissions.acl
rule NetworkAdminUser2 {
description: "Grant business network administrators full access to user resources"
participant: "org.acme.airline.participant.ACMENetworkAdmin"
operation: ALL
resource: "**"
action: ALLOW
}
rule NetworkAdminSystem2 {
description: "Grant business network administrators full access to system resources"
participant: "org.acme.airline.participant.ACMENetworkAdmin"
operation: ALL
resource: "org.hyperledger.composer.system.**"
action: ALLOW
}
댓글 없음:
댓글 쓰기