Giter VIP home page Giter VIP logo

Comments (5)

eljhkrr avatar eljhkrr commented on July 22, 2024 1

Checks that detect-user-oddities.js performs for the Muso project:

  • All user docs in _users db have a corresponding doc in medic db
  • Facility id's in _users and medic db's should match
  • Facility and contact documents exist for all users
  • CHW users should have 'chw' role
  • Non-chw users should not have 'chw_uhc' role
  • Supervisor users should have 'supervisor' role
  • Supervisor users should not have chw-related roles
  • Inconsistent roles across user doc & contact

There are global checks that should be performed across all projects and there are checks that are specific to a project's context. Next step is to categorize the checks and collect information on project specific checks.

from cht-app-monitoring-data-ingest.

eljhkrr avatar eljhkrr commented on July 22, 2024

Next steps:

  • Breakdown what the script does
  • Identify different project contexts
  • Implement the script for all projects
  • Create a cron job to run the script regularly
  • Consider a SQL solution

from cht-app-monitoring-data-ingest.

eljhkrr avatar eljhkrr commented on July 22, 2024

Tracking global checks in this issue:

  • All _users entries should have a corresponding entry in medic database
  • Facility, contact & role details should match in _users & medic db's
  • Facility & contact documents should exist
  • Contact type should match actual hierarchy setup in contact vs app settings definition

Project specific checks following up in https://github.com/medic/app-services-team/issues/558

from cht-app-monitoring-data-ingest.

kennsippell avatar kennsippell commented on July 22, 2024

On holiday for the rest of August. I'm not going to be able to get to this by end of week so bumping to Sept

from cht-app-monitoring-data-ingest.

eljhkrr avatar eljhkrr commented on July 22, 2024

Split into different use-cases: MoH Togo, MoH Nepal, MoH Kenya

from cht-app-monitoring-data-ingest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.