mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
memberOnlyRead is a new private data collection config property in v1.4. This CR adds it to the marbles02_private sample chaincode. Change-Id: I9aeedd43cf835533c7bb2f0f0b6343f819b53e9c Signed-off-by: David Enyeart <enyeart@us.ibm.com>
18 lines
381 B
JSON
18 lines
381 B
JSON
[
|
|
{
|
|
"name": "collectionMarbles",
|
|
"policy": "OR('Org1MSP.member', 'Org2MSP.member')",
|
|
"requiredPeerCount": 0,
|
|
"maxPeerCount": 3,
|
|
"blockToLive":1000000,
|
|
"memberOnlyRead": true
|
|
},
|
|
{
|
|
"name": "collectionMarblePrivateDetails",
|
|
"policy": "OR('Org1MSP.member')",
|
|
"requiredPeerCount": 0,
|
|
"maxPeerCount": 3,
|
|
"blockToLive":3,
|
|
"memberOnlyRead": true
|
|
}
|
|
]
|