Suppose there are 3 peers Peer1, Peer2 and Peer3 of Org1,Org2 and Org3 respectively are members of channel1.As per my understanding all these 3 peers would have same access privilege on channel ledger data. But my requirement is only Peer1 can add/update/read data on Ledger. Peer2 and Peer3 should have only read data privilege on this ledger. How it can be achieved ?
This is a typical private blockchain network scenario; that is, org1 owes and operates the network whereas org2 and org3 are read-only members of the network. The general set up is as following:
You may see a similar example of this in Fabric 1.4.2 document add org to a channel which uses the code from the sample repo. Pay attention to the configtx.yaml file content. You could just remove org2 from there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With