How to define different privacy for different users in Fabric 1.0?

0 votes
I have a chaincode of a house brokerage system.. In this i want different privacy for data for different users. Like, i want certain users to see all data.. I want banks to see only payments and owners should not be able to see payments but can see other data.. I can use channels to do this but i would have to deploy two different contracts and i dont want to do that. what other way can i do this?
Jul 6, 2018 in Blockchain by slayer
• 29,040 points
26 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
The privacy restriction to particular peers in the network is not yet availabale in the current version. It is planned to be provided as a feature in the upcoming versions. You can follow https://jira.hyperledger.org/browse/FAB-1151 for more info about this.

For now, you can use getCurrentParticipant() runtime API and add access control to transaction processor functions. More about it, here: https://hyperledger.github.io/composer/reference/acl_language.html
answered Jul 6, 2018 by digger
• 27,620 points

Related Questions In Blockchain

0 votes
1 answer

Hyperledger Fabric 1.0 how to maintain privacy from OSNs?

Yes, OSNs can see all the transaction ...READ MORE

answered Jul 2, 2018 in Blockchain by Omkar
• 65,850 points
22 views
+1 vote
2 answers
0 votes
1 answer

How to connect channels of different systems in Hyperledger Fabric?

When you create a channel, you will ...READ MORE

answered Nov 20, 2018 in Blockchain by Omkar
• 65,850 points
48 views
0 votes
1 answer

How to use different network cards for multiple composer rest server users?

You are getting the same network card in ...READ MORE

answered Dec 5, 2018 in Blockchain by Perry
• 16,450 points
234 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to control visibility of assets in Hyperledger Fabric?

you can use proof of Authority consensus ...READ MORE

answered Jul 10, 2018 in Blockchain by digger
• 27,620 points
63 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.