kshitijyelpale / blockchain-hyperledger-fabric-electronic-patient-records

GNU General Public License v3.0
49 stars 43 forks source link

Role based API access #24

Closed sjathin closed 3 years ago

sjathin commented 3 years ago

So now the contract is chosen based on the role send in the request header. The request header must consist 'role' with values of 'patient', doctor' / 'admin'.

Also, all the APIs are validated based on the roles.

kshitijyelpale commented 3 years ago

Task linked: CU-cn31f7 Contract Name Updates based on patient/doctor