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,370 points
560 views

1 answer to this question.

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.

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
• 26,740 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
• 69,220 points
865 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
• 69,220 points
643 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 6, 2018 in Blockchain by Perry
• 17,100 points
1,208 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 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
• 26,740 points
795 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP