You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially cht-core should consistently use the [roles and permissions] in user-settings because that's the only one that's downloaded for offline use. However I suspect couchdb db level permissions will use the one in the _users db because that's the only one it knows about. The CHT has code to keep these in sync but obviously it's not working correctly.
Here a system admin alters one doc through Fauxton but not the other (this is common)
These two security docs stay in alignment when edited through the CHT UI, but when edited through scripts or Fauxton they are frequently not in sync. CHT currently expects these documents to be identical -- when they are not, it can cause inconsistent roles and permissions for users.
Labeling as bug because of this statement "The CHT has code to keep these in sync but obviously it's not working correctly".
The text was updated successfully, but these errors were encountered:
Describe the bug
medic/cht-couch2pg#137 (comment)
Just a quick example:
_users
dbuser-settings
These two security docs stay in alignment when edited through the CHT UI, but when edited through scripts or Fauxton they are frequently not in sync. CHT currently expects these documents to be identical -- when they are not, it can cause inconsistent roles and permissions for users.
Labeling as bug because of this statement "The CHT has code to keep these in sync but obviously it's not working correctly".
The text was updated successfully, but these errors were encountered: