diff --git a/first-network/configtx.yaml b/first-network/configtx.yaml index 918042cf97..028614d039 100644 --- a/first-network/configtx.yaml +++ b/first-network/configtx.yaml @@ -64,6 +64,9 @@ Organizations: Admins: Type: Signature Rule: "OR('Org1MSP.admin')" + Endorsement: + Type: Signature + Rule: "OR('Org1MSP.peer')" # leave this flag set to true. AnchorPeers: @@ -96,6 +99,9 @@ Organizations: Admins: Type: Signature Rule: "OR('Org2MSP.admin')" + Endorsement: + Type: Signature + Rule: "OR('Org2MSP.peer')" AnchorPeers: # AnchorPeers defines the location of peers which can be used @@ -190,6 +196,12 @@ Application: &ApplicationDefaults Admins: Type: ImplicitMeta Rule: "MAJORITY Admins" + LifecycleEndorsement: + Type: ImplicitMeta + Rule: "MAJORITY Endorsement" + Endorsement: + Type: ImplicitMeta + Rule: "MAJORITY Endorsement" Capabilities: <<: *ApplicationCapabilities diff --git a/first-network/org3-artifacts/configtx.yaml b/first-network/org3-artifacts/configtx.yaml index ab3c81a7af..3d528c582a 100644 --- a/first-network/org3-artifacts/configtx.yaml +++ b/first-network/org3-artifacts/configtx.yaml @@ -29,3 +29,17 @@ Organizations: # encoded in the genesis block in the Application section context - Host: peer0.org3.example.com Port: 11051 + + Policies: + Readers: + Type: Signature + Rule: "OR('Org3MSP.admin', 'Org3MSP.peer', 'Org3MSP.client')" + Writers: + Type: Signature + Rule: "OR('Org3MSP.admin', 'Org3MSP.client')" + Admins: + Type: Signature + Rule: "OR('Org3MSP.admin')" + Endorsement: + Type: Signature + Rule: "OR('Org3MSP.peer')"