我无法从业务网络在 Hyperledger Composer 中发布身份

I Can not issueidentities in Hyperledger composer from a Business network

我可以与网络进行交易,并创建新的资产和参与者,但如果我真的要根据我获得的参与者发布身份。

Error: fabric-ca request register failed with errors 
[[{"code":0,"message":"Registration of '4770' failed in affiliation 
validation: : scode: 401, local code: 44, local msg: Caller does not 
have authority to act on affiliation 'org1', remote code: 20, remote msg: Authorization failure"}]]

我从哪里开始调试这个问题。我正在使用 IBM Enterprise Blockchain 系统进行部署。

如果命令中没有提供从属关系,

composer identity issue 默认为 org1 从属关系。要指定您自己的从属关系,您需要添加选项 -o affiliation=xyz(其中 xyz 是在您的 fabric ca 服务器中定义的有效从属关系)。例如

composer identity issue -c admin@network -u newuser -a org.example.mynetwork.Person#P1 -o affiliation=myaffiliation

请注意,无法在 playground 中提供从属关系。