-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for having multiple places assigned to a user #185
Comments
Hi @kennsippell , Have you noticed any adverse replication impact with the "multi places assignment" feature? |
Hey @ChinHairSaintClair. I don't think anybody is using the multiplace assignment feature yet. We are still getting ready. In general, that change didn't changed the CHT's client-side performance characteristics except to make it easier to have too many docs associated with a single account. When we use this feature, all the normal tricks to keep acceptable CHT performance will be even more relevant: purging (as you mention), but also replication depth since this feature is designed with supervisors in mind. One clarification is that I think the feature is for offline-users only (maybe I'm wrong? I don't plan to use it for that users); but likely no impact for online users. Purging has no impact on the amount of data pulled through the user management tool, but this tool only deals with contacts and never looks at reports. |
Hi @kennsippell. That's fair enough, only got added in the latest release (4.9 at the time of writing).
Indeed that's the worry. We're trying to be a bit more attentive to performance by leaning into the purging script, but from reading forum threads it seems difficult to track the progress of the run.
Replication depth is a bit tricky for us, as it works from the top down, not the other way around.
Online users are able to see all report data across the system (in the reports tab). However if you create an online user, that's placed within a specific
Thank you for the clarification, it's good to keep in mind. |
In these cases, a combination of replication depth and needs_signoff may be useful.
I believe they see everything all the time. Would you confirm your expectation here? My knowledge may be out of date, but I just tested on 4.9 and I see everything. |
Thank you @kennsippell
Good point! That should work from an
One can see all reports, but the hierarchy is scoped - see example scenario below: As When logging in as the We can however still see all reports across the system
I'd like the behavior to be consistent for both the |
Thanks for confirming and explaining!
Can you start that conversation on https://forum.communityhealthtoolkit.org/? I know this discussion has happened many times and I'm not sure about its latest status. I can't find a tracking ticket in cht-core anymore or I would forward you there. |
Just adding some links for the benefit of any future readers: |
@alexosugo Are we ok with the intended MoH-Ke work on CHAs? Any dependency on this convo? |
@PhilipNgari We are ok as far as eCHIS-KE is concerned. Current dependency is the instance upgrades to v4.9+. |
CHT Core 4.9 supports having multiple places assigned to a single user
https://docs.communityhealthtoolkit.org/core/releases/4.9.0/#allow-multiple-places-to-be-assigned-to-users
In Kenya, we are planning to have a single CHA account with multiple CHUs associated with it. How can we support this scenario and make CHU management easy?
The text was updated successfully, but these errors were encountered: