Websphere Hyperledger结构网络SDK[[{quot;code";56,“message";:“标识删除已禁用”}]

Websphere Hyperledger结构网络SDK[[{quot;code";56,“message";:“标识删除已禁用”}],websphere,hyperledger-fabric,blockchain,ibm-blockchain,hyperledger-fabric-sdk-js,Websphere,Hyperledger Fabric,Blockchain,Ibm Blockchain,Hyperledger Fabric Sdk Js,我使用IBM区块链平台创建了一个示例项目 我正在尝试使用默认管理员身份注销用户: identityService.delete(用户名、adminIdentity、true){ 钱包。删除(用户名); }); 我不断地发现这个错误: (node:48423) UnhandledPromiseRejectionWarning: Error: fabric-ca request identities/gayelabouimaddelete?force=true failed with error

我使用IBM区块链平台创建了一个示例项目

我正在尝试使用默认管理员身份注销用户:

identityService.delete(用户名、adminIdentity、true){
钱包。删除(用户名);
});
我不断地发现这个错误:


(node:48423) UnhandledPromiseRejectionWarning: Error: fabric-ca request identities/gayelabouimaddelete?force=true failed with errors [[{"code":56,"message":"Identity removal is disabled"}]]

虽然管理员帐户的hf.Revoker设置为true,hf.register.Roles设置为“*”:


CA中的身份删除已禁用。请在fabric CA server config.yaml中添加以下属性(allowremove:true)

#############################################################################
# CA configuration section
#
# Configure the number of incorrect password attempts are allowed for
# identities. By default, the value of 'passwordattempts' is 10, which
# means that 10 incorrect password attempts can be made before an identity get
# locked out.
#############################################################################
cfg:
  identities:
    passwordattempts: 10
      allowremove: true 

你能告诉我在哪里可以找到这个配置文件吗?我正在使用IBM Extensions运行本地环境,请注意标识:“allowremove”需要与“passwordattempts”处于同一级别,而不是如图所示缩进。
#############################################################################
# CA configuration section
#
# Configure the number of incorrect password attempts are allowed for
# identities. By default, the value of 'passwordattempts' is 10, which
# means that 10 incorrect password attempts can be made before an identity get
# locked out.
#############################################################################
cfg:
  identities:
    passwordattempts: 10
      allowremove: true