Hyperledger Fabric: Querying private data using memberOnlyRead featureUse REST API support in local development environment for Hyperledger Fabric V1.0Hyperledger Fabric CLI docker containerHyperledger Fabric Endorsement LogicPartial data privacy in Hyperledger FabricHyperledger Fabric Private Data CollectionHyperledger fabric 1.2 service discovery errorHow does Hyperledger Fabric perform endorsement, and who are clients in Hyperledger FabricRestricting some organizations from performing some channel and chaincode operations in Hyperledger FabricIdentify the Peer/Org executing the chaincode from within the chaincode [Fabric 1.2 or 1.3]
CDG baggage claim before or after immigration?
What do solvers like Gurobi and CPLEX do when they run into hard instances of MIP
Do liquid propellant rocket engines experience thrust oscillation?
Can planetary bodies have a second axis of rotation?
Was there a trial by combat between a man and a dog in medieval France?
Do the villains know Batman has no superpowers?
Did HaShem ever command a Navi (Prophet) to break a law?
Why are some of the Stunts in The Expanse RPG labelled 'Core'?
Is it true that, "just ten trading days represent 63 per cent of the returns of the past 50 years"?
Hiking with a mule or two?
How would a native speaker correct themselves when they misspeak?
Asking an expert in your field that you have never met to review your manuscript
Aligning two sets of equations with alignat?
How do I extract the path back out from a brush?
How to influence manager to not schedule team meetings during lunch?
Simulate a 1D Game-of-Life-ish Model
What is a Heptagon Number™?
Is Zack Morris's 'time stop' ability in "Saved By the Bell" a supernatural ability?
What can a pilot do if an air traffic controller is incapacitated?
Can one guy with a duplicator initiate a nuclear apocalypse?
Nanomachines exist that enable Axolotl-levels of regeneration - So how can crippling injuries exist as well?
How to create a grid following points in QGIS?
Safely hang a mirror that does not have hooks
As an employer, can I compel my employees to vote?
Hyperledger Fabric: Querying private data using memberOnlyRead feature
Use REST API support in local development environment for Hyperledger Fabric V1.0Hyperledger Fabric CLI docker containerHyperledger Fabric Endorsement LogicPartial data privacy in Hyperledger FabricHyperledger Fabric Private Data CollectionHyperledger fabric 1.2 service discovery errorHow does Hyperledger Fabric perform endorsement, and who are clients in Hyperledger FabricRestricting some organizations from performing some channel and chaincode operations in Hyperledger FabricIdentify the Peer/Org executing the chaincode from within the chaincode [Fabric 1.2 or 1.3]
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
collections_config.json file:
"name": "Org1PDC",
"policy": "OR('Org1MSP.member', 'Org2MSP.member')",
"requiredPeerCount": 0,
"maxPeerCount": 3,
"blockToLive":0,
"memberOnlyRead": false
I try to query data using Org3 by setting Org3's parameters in cli and executing peer chaincode query command.
But it shows that Org3 does not have permission to view the data.
I understand that CLIENTS of non-member organisations can query authorized PEERS holding private data. But I don't understand how I can achieve this functionality.
hyperledger-fabric hyperledger peer
add a comment
|
collections_config.json file:
"name": "Org1PDC",
"policy": "OR('Org1MSP.member', 'Org2MSP.member')",
"requiredPeerCount": 0,
"maxPeerCount": 3,
"blockToLive":0,
"memberOnlyRead": false
I try to query data using Org3 by setting Org3's parameters in cli and executing peer chaincode query command.
But it shows that Org3 does not have permission to view the data.
I understand that CLIENTS of non-member organisations can query authorized PEERS holding private data. But I don't understand how I can achieve this functionality.
hyperledger-fabric hyperledger peer
add a comment
|
collections_config.json file:
"name": "Org1PDC",
"policy": "OR('Org1MSP.member', 'Org2MSP.member')",
"requiredPeerCount": 0,
"maxPeerCount": 3,
"blockToLive":0,
"memberOnlyRead": false
I try to query data using Org3 by setting Org3's parameters in cli and executing peer chaincode query command.
But it shows that Org3 does not have permission to view the data.
I understand that CLIENTS of non-member organisations can query authorized PEERS holding private data. But I don't understand how I can achieve this functionality.
hyperledger-fabric hyperledger peer
collections_config.json file:
"name": "Org1PDC",
"policy": "OR('Org1MSP.member', 'Org2MSP.member')",
"requiredPeerCount": 0,
"maxPeerCount": 3,
"blockToLive":0,
"memberOnlyRead": false
I try to query data using Org3 by setting Org3's parameters in cli and executing peer chaincode query command.
But it shows that Org3 does not have permission to view the data.
I understand that CLIENTS of non-member organisations can query authorized PEERS holding private data. But I don't understand how I can achieve this functionality.
hyperledger-fabric hyperledger peer
hyperledger-fabric hyperledger peer
edited Mar 29 at 8:29
Vadim Kotov
5,4847 gold badges36 silver badges49 bronze badges
5,4847 gold badges36 silver badges49 bronze badges
asked Mar 28 at 14:56
the_stack_over_flewthe_stack_over_flew
286 bronze badges
286 bronze badges
add a comment
|
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55400725%2fhyperledger-fabric-querying-private-data-using-memberonlyread-feature%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55400725%2fhyperledger-fabric-querying-private-data-using-memberonlyread-feature%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown