I believe that the chaincode currently extracts the affiliation from the CN of the transaction certificate in order to map transactors to roles. I v0.6, CN will no longer work as this was an error in leaking identity.
A couple of changes will be needed:
1) When registering users, add an attribute (could be called role) with the correct value for each user
2) Modify the chaincode to extract the attribute(s) from the transaction certificates rather than parsing the CN
I believe that the chaincode currently extracts the affiliation from the CN of the transaction certificate in order to map transactors to roles. I v0.6, CN will no longer work as this was an error in leaking identity.
A couple of changes will be needed:
1) When registering users, add an attribute (could be called role) with the correct value for each user
2) Modify the chaincode to extract the attribute(s) from the transaction certificates rather than parsing the CN