Skip to content

Commit 8687c66

Browse files
author
Srinivasan Muralidharan
committedAug 28, 2017
[FAB-5945] make CSCC.GetConfigBlock chan. wide
default ACL used when RSCC is turned off (for 1.0 ACL behavior) tags GetConfigBlock as peer wide resource. Should be channel wide Change-Id: Ib79d12a073dd2ddc01806feeaa24c84f49e23c3a Signed-off-by: Srinivasan Muralidharan <muralisr@us.ibm.com>
1 parent 20cfd31 commit 8687c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎core/aclmgmt/defaultaclprovider.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ func (d *defaultACLProvider) initialize() {
7777
//--------------- CSCC resources -----------
7878
//p resources (implemented by the chaincode currently)
7979
d.pResourcePolicyMap[CSCC_JoinChain] = ""
80-
d.cResourcePolicyMap[CSCC_GetChannels] = ""
80+
d.pResourcePolicyMap[CSCC_GetChannels] = ""
8181

8282
//c resources
83-
d.pResourcePolicyMap[CSCC_GetConfigBlock] = CHANNELREADERS
83+
d.cResourcePolicyMap[CSCC_GetConfigBlock] = CHANNELREADERS
8484

8585
//---------------- non-scc resources ------------
8686
//Propose

0 commit comments

Comments
 (0)
Please sign in to comment.