2018-06-07 14:34:24 +08:00
|
|
|
{
|
|
|
|
"payload": {
|
|
|
|
"header": {
|
|
|
|
"channel_header": {
|
|
|
|
"channel_id": "businesschannel",
|
|
|
|
"type": 2
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"data": {
|
|
|
|
"config_update": {
|
|
|
|
"channel_id": "businesschannel",
|
|
|
|
"read_set": {
|
|
|
|
"groups": {
|
|
|
|
"Application": {
|
|
|
|
"groups": {
|
|
|
|
"Org1MSP": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "1"
|
|
|
|
},
|
|
|
|
"Org2MSP": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"Capabilities": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"write_set": {
|
|
|
|
"groups": {
|
|
|
|
"Application": {
|
|
|
|
"groups": {
|
|
|
|
"Org1MSP": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "1"
|
|
|
|
},
|
|
|
|
"Org2MSP": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "1"
|
|
|
|
},
|
|
|
|
"Org3MSP": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "MEMBER"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "MEMBER"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|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hWRHZvZDgwCnhxNjZaNmV0U3dXNnJCWjNTa0dxQnpGMEJ2V3RKV013Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQUtSUGhEUVoKVG8wb2ZzVkpyaFEvM3lTOFRWY3ZkclZtSUdRRG5LbU9vdmpYQWlBWU4zcEJrTkordmN1ZFNubjR1RU1udHJKWgpGOVo1NGRxV3BMQVVDaWozRXc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
2018-06-07 14:34:24 +08:00
|
|
|
],
|
|
|
|
"crypto_config": {
|
|
|
|
"identity_identifier_hash_function": "SHA256",
|
|
|
|
"signature_hash_family": "SHA2"
|
|
|
|
},
|
|
|
|
"name": "Org3MSP",
|
|
|
|
"root_certs": [
|
2018-06-19 16:59:23 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRakNDQWVtZ0F3SUJBZ0lRWUdaYzhVYW9GakxFeEhlbTZrc3hhakFLQmdncWhrak9QUVFEQWpCek1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTXk1bGVHRnRjR3hsTG1OdmJURWNNQm9HQTFVRUF4TVRZMkV1CmIzSm5NeTVsZUdGdGNHeGxMbU52YlRBZUZ3MHhPREEyTVRrd09ERXhNRFphRncweU9EQTJNVFl3T0RFeE1EWmEKTUhNeEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVApZVzRnUm5KaGJtTnBjMk52TVJrd0Z3WURWUVFLRXhCdmNtY3pMbVY0WVcxd2JHVXVZMjl0TVJ3d0dnWURWUVFECkV4TmpZUzV2Y21jekxtVjRZVzF3YkdVdVkyOXRNRmt3RXdZSEtvWkl6ajBDQVFZSUtv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FVRQpCeE1OVTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTXk1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4elkyRXViM0puTXk1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCTmwyNWxjRGxFM2d0YVZ3dGY5Nm9malptTG43aDc1OUgwOGlxOHR0dlI2VWFEQlpkQXlNbllKLwpuQytlZ1R0NlRTTlJwSjNiZWRrTGpNUmI2R2l5YjVPalh6QmRNQTRHQTFVZER3RUIvd1FFQXdJQnBqQVBCZ05WCkhTVUVDREFHQmdSVkhTVUFNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdLUVlEVlIwT0JDSUVJR21BdzVxVHl6UnoKalJUTXpVM3JRYTRMNCswZzlDNnZmY3BzNWl6Q0t0M0JNQW9HQ0NxR1NNNDlCQU1DQTBjQU1FUUNJQVZuT1Zhawp1Qkx5dmQ5VjIwUnRmZFhyYXZYQmQwV3FMS0NCSlRBL01TNUhBaUFRb0o0QWE0M2VXTVdwTTdhVUtNYkJ5NEhhCkU4RlpEYUpwY01icE10WVhCZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
2018-06-07 14:34:24 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"type": 0
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"Capabilities": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "",
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|