Open Naima-Bashir opened 1 year ago
Hi @Naima-Bashir. I and my research assistant have checked the assignments on the development OpenSRP Web. We created new usernames: 1 Puskesmas (puskesmas buah) and 2 villages (village mangga & village sirsak).
We experienced the same issues during your leave. Could you please also confirm with @AngelaKabari? We cannot continue to check the production OpenSRP Web because we need to solve this hierarchy issue in advance.
Hi @mergygayatri If you look at the screenshot below, you will notice Desa Sirsak is assigned to 2 locations:
This means that Desa Sirsak has a higher hierarchy and can therefore see details for Desa Mangga (It's assigned to a health facility which a higher location.) Please ensure that the village locations are only assigned to their level so that they can only see their village and not other villages.
Hi @Naima-Bashir. Thank you for checking. We checked it again and created new credentials.
Yes, village plane only can see patients in village plane. So does the village bike. However, we cannot check the Puskesmas vehicle because the sync keeps failing. I created a patient in Puskesmas vehicle but it was lost because of sync failure. I would like to make sure that Puskesmas see all the patients (patients in Puskesmas + all patients in the catchment villages). You can see the video all of the steps I did here.
Hi @mergygayatri
The sync is failing because server is throwing following error while syncing with Puskesmas Vehicle {"message":"FORBIDDEN","status":"403 FORBIDDEN","data":null,"success":false} We need to confirm when does this error occur. Maybe the user might might not have been granted the correct privileges.Did the user Puskesmas Vehicle have super user access or?
Hi @Naima-Bashir, thank you. Just to make sure, how to check the user Puskesmas vehicle has super user access?
Hi @mergygayatri here is a screenshot showing the Keycloak users groups. The user Puskesmas should have a Provider role in order to ensure the sync works as expected.
Affected App or Server Version
Latest apk
What kind of support do you need?
What is the acceptance criteria for your support request?
Create new users Clear cache and data on the app on your phone login to the app
Relevant Information
No response