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
• 27,620 points
197 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,050 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
72 views
0 votes
1 answer
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,050 points
56 views