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
165 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
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,040 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
64 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,040 points
52 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.