From 615eb21c5e7364e192f16915e4dcc0ba8942bb56 Mon Sep 17 00:00:00 2001 From: Jason Yellick Date: Mon, 28 Aug 2017 10:52:26 -0400 Subject: [PATCH] [FAB-5937] Bad default mod_policy for Consortiums This is a backport of the fix from v1.1 for v1.0.2. The mod_policy for /Channel/Consortiums/Admins currently defaults to Admins (itself), but this should be /Channel/Orderer/Admins. This CR fixes configtxgen to set the appropriate default. Change-Id: Id5cba18a84ddf7ae232836e8b51f54feb31e5008 Signed-off-by: Jason Yellick --- common/configtx/tool/provisional/provisional.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/configtx/tool/provisional/provisional.go b/common/configtx/tool/provisional/provisional.go index ad0d5647c00..61f92b7fdf9 100644 --- a/common/configtx/tool/provisional/provisional.go +++ b/common/configtx/tool/provisional/provisional.go @@ -194,6 +194,7 @@ func New(conf *genesisconfig.Profile) Generator { Type: int32(cb.Policy_SIGNATURE), Value: utils.MarshalOrPanic(cauthdsl.AcceptAllPolicy), }, + ModPolicy: OrdererAdminsPolicy, } bs.consortiumsGroups = append(bs.consortiumsGroups, tcg)