Skip to content

Commit 615eb21

Browse files
author
Jason Yellick
committed
[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 <[email protected]>
1 parent ae4e37d commit 615eb21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/configtx/tool/provisional/provisional.go

+1
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ func New(conf *genesisconfig.Profile) Generator {
194194
Type: int32(cb.Policy_SIGNATURE),
195195
Value: utils.MarshalOrPanic(cauthdsl.AcceptAllPolicy),
196196
},
197+
ModPolicy: OrdererAdminsPolicy,
197198
}
198199

199200
bs.consortiumsGroups = append(bs.consortiumsGroups, tcg)

0 commit comments

Comments
 (0)