when I tried to logged into my business network as a participant to access that transaction record, I encountered the following error:

when I tried to logged into my business network as a participant to access that transaction record, I encountered the following error:

t:参与者 'org.gowdanar.gfunds.Chit#gfunds-001' 没有 'READ' 访问资源 'org.hyperledger.composer.system.Network#empty-business-network@0.0.2-deploy.4'

听起来您的 permissions.acl 文件(ACL 规则)没有正确的权限。

rule AllParticipantsCanAccessTheNetwork {
   description: "Allow all participants to access the network"
   participant: "org.hyperledger.composer.system.Participant"
   operation: READ
   resource: "org.hyperledger.composer.system.Network"
   action: ALLOW
}

例如,一组通用规则可能符合以下内容(规则 2 将取代上面的规则,仅供参考):

/**
 * Access control rules for mynetwork
 */
rule Default {
    description: "Allow all participants access to all resources"
    participant: "ANY"
    operation: ALL
    resource: "org.gowdanar.gfunds.*"
    action: ALLOW
}

rule SystemACL {
    description:  "System ACL to permit all access"
    participant: "org.hyperledger.composer.system.Participant"
    operation: ALL
    resource: "org.hyperledger.composer.system.**"
    action: ALLOW
}

rule NetworkAdminUser {
    description: "Grant business network administrators full access to user resources"
    participant: "org.hyperledger.composer.system.NetworkAdmin"
    operation: ALL
    resource: "**"
    action: ALLOW
}

rule NetworkAdminSystem {
    description: "Grant business network administrators full access to system resources"
    participant: "org.hyperledger.composer.system.NetworkAdmin"
    operation: ALL
    resource: "org.hyperledger.composer.system.**"
    action: ALLOW
}