medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Cannot login as admin to select instances #102

Closed kennsippell closed 6 months ago

kennsippell commented 6 months ago

Triggering: User 'medic' does not have a facility_id connected to their user doc

kennsippell commented 6 months ago

After #100, this is resolved for Migori but still happening for isiolo, siaya, and chis-training.health.go.ke.

kennsippell commented 6 months ago

isiolo had a conflict on the org.couchdb.user:medic doc within the medic database. In the latest rev, the admin role was removed, but it was present in previous revs. I corrected the issue by resolving conflicts and updating the role to admin.

No-repro for siaya and chis-training