满足0个子策略,但是此策略要求满足“作家”子策略中的1个:拒绝权限

时间:2019-05-17 07:01:55

标签: hyperledger-fabric blockchain channel

我正在运行超级账本网络。我正在使用fabricjs的余额转移示例以及使用nodejs sdk来运行网络的步骤。 我已经在网络中的组织中注册并注册了新用户,并且成功,但是在创建面对错误的频道时- 被禁止的原因:隐式策略评估失败-满足0个子策略,但是此策略要求满足“作家”子策略中的1个:权限被拒绝

响应如下:-


POST request Create channel  ...

{"success":false,"message":"Channel 'Mychannel' failed to create status:FORBIDDEN reason:implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied: permission denied"}

在日志中:-

[2019-05-17 12:18:37.723] [DEBUG] Create-Channel -  result ::{"status":"FORBIDDEN","info":"implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied: permission denied"}
[2019-05-17 12:18:37.723] [ERROR] Create-Channel - Failed to create the channel. status:FORBIDDEN reason:implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied: permission denied

0 个答案:

没有答案