From 33f064f2fb03703092d0dfbb206f3aaf67e1ffb3 Mon Sep 17 00:00:00 2001 From: David Enyeart Date: Tue, 4 Dec 2018 15:28:31 -0500 Subject: [PATCH] [FAB-13170] Add memberOnlyRead to marbles sample 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 --- .../marbles02_private/collections_config.json | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/chaincode/marbles02_private/collections_config.json b/chaincode/marbles02_private/collections_config.json index d61434a864..82af88dbaf 100644 --- a/chaincode/marbles02_private/collections_config.json +++ b/chaincode/marbles02_private/collections_config.json @@ -1,16 +1,18 @@ [ { - "name": "collectionMarbles", - "policy": "OR('Org1MSP.member', 'Org2MSP.member')", - "requiredPeerCount": 0, - "maxPeerCount": 3, - "blockToLive":1000000 + "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 + "name": "collectionMarblePrivateDetails", + "policy": "OR('Org1MSP.member')", + "requiredPeerCount": 0, + "maxPeerCount": 3, + "blockToLive":3, + "memberOnlyRead": true } ]