How to create users on hyperledger and how to assign policies to the created users

0 votes
i have a fabric-CA server and i have 2 channels.. i want to create users and assign some policies to them to access particular channels.. how can i do it?
Jul 10, 2018 in Blockchain by digger
• 26,740 points
1,628 views

1 answer to this question.

0 votes
First the users need to establish identity by getting certificate signed by CA.. Mainly, two authorization checks are made..

1. The invoker’s identity must have the “hf.Registrar.Roles” attribute with a comma-separated list of values where one of the value equals the type of identity being registered.
2. The affiliation of the invoker’s identity must be equal to or a prefix of the affiliation of the identity being registered.

Channel configuration block contains MSP (membership service provider) information of each organization. Any organization that is using Fabric CA server as certificate authority can register users. Every registered user will get them certificates. After this, through channel writer authority, users can be assigned policies..
answered Jul 10, 2018 by slayer
• 29,350 points

Related Questions In Blockchain

0 votes
1 answer

How to explore and analyze the data inside a Hyperledger Blockchain network?

In Hyperledger Composer, you have all the ...READ MORE

answered Aug 10, 2018 in Blockchain by Christine
• 15,790 points
1,061 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,262 views
0 votes
1 answer
0 votes
1 answer

How to get peer admin's certificate and key on Bluemix?

Follow the steps mentioned below: Create connection profile ~/.composer-connection-profiles/bmx-stage1-kubes/connection.json {  "name": ...READ MORE

answered Jul 16, 2018 in Blockchain by slayer
• 29,350 points
747 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