Please have a look into my issue .I am using hyperledger fabric 1.2 . I am exploring ACL
at the time of channel creation. I just copied default Writers
Policy and rename it with PankajPolicy
and put into the Channel.Application in configtx.yaml see here.
Now the issue is that I just replaced peer/Propose: /Channel/Application/Writers
With PankajPolicy in peer/Propose: /Channel/Application/PankajPoilicy
. For complete configtx.yaml please have a look see here.
When i create genesis block with this and trying to create the channel evrything goes fine .But at the time of query am getting error
Error: error endorsing query: rpc error: code = Unknown desc = failed evaluating policy on signed data during check policy [/Channel/Application/PankajPoilicy]: [policy /Channel/Application/PankajPoilicy not found] - proposal response: <nil>
Instead if something is wrong then it should stop on write operation means at the time of peer chaincode instansiate
.
Thanks in advance !!!