2018-01-29 11:01:25 +08:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"type": 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": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|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s2Q3orNHFLY0xWakcyeUZMQWlCdzFtRTNVeHhmWGxuYW9QL2Y2YnVMNFU0dwowUkxlK3dqUzBHNGVQeWtUTXc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
2018-01-29 11:01:25 +08:00
|
|
|
],
|
|
|
|
"crypto_config": {
|
|
|
|
"identity_identifier_hash_function": "SHA256",
|
|
|
|
"signature_hash_family": "SHA2"
|
|
|
|
},
|
|
|
|
"name": "Org3MSP",
|
|
|
|
"root_certs": [
|
2018-01-30 16:12:23 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRakNDQWVtZ0F3SUJBZ0lRTER1VTFJR0NmU0N2dmwxbXlXMWNRVEFLQmdncWhrak9QUVFEQWpCek1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTXk1bGVHRnRjR3hsTG1OdmJURWNNQm9HQTFVRUF4TVRZMkV1CmIzSm5NeTVsZUdGdGNHeGxMbU52YlRBZUZ3MHhPREF4TXpBd056VTFOVEZhRncweU9EQXhNamd3TnpVMU5URmEKTUhNeEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVApZVzRnUm5KaGJtTnBjMk52TVJrd0Z3WURWUVFLRXhCdmNtY3pMbVY0WVcxd2JHVXVZMjl0TVJ3d0dnWURWUVFECkV4TmpZUzV2Y21jekxtVjRZVzF3YkdVdVkyOXRNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUKbXdWUlBkYVdSVDJtQk9Kb0w5R2cxTlFrNStwR3VTQzNiak1FdE1MRHRIUGROejcyUkZrY21zSW5sVWd6WGV2OQpyT045Z0FTc3MzcXRibTNU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5dE1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMEQKQVFjRFFnQUVuYXFRajFYTWJFTjN1NUhFRTBxZWJRV2lKSmFsalBja0RkaTlPK09STnNuc0hsMk1zRGZQVUpySgoxVXNaS2g5NXM2WWxHbE1YVzQveUozd2o3V3BVRzZOZk1GMHdEZ1lEVlIwUEFRSC9CQVFEQWdHbU1BOEdBMVVkCkpRUUlNQVlHQkZVZEpRQXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QXBCZ05WSFE0RUlnUWdQRURMRXVLS3lRbGYKVHdZemx4WTR2TDczTXZScXFIQ0NPOVkyRWtmeVU5b3dDZ1lJS29aSXpqMEVBd0lEUndBd1JBSWdhTTJadXVBdgpBV1kwcGFUem1FMTNwVmtsZ3hEZys2SFI5dlp3T3lwWjRPUUNJQ3FqMUd0SlFUdnZoU0lLSkRib1VHWEljOVl2Ck90VFIrZmVkTUM0TkRHbXcKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo="
|
2018-01-29 11:01:25 +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"
|
|
|
|
}
|
|
|
|
}
|