Closed sjathin closed 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.
Task linked: CU-cn31f7 Contract Name Updates based on patient/doctor
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.