Details

      Description

      As an admin I want a report that lists all configuration errors for facilities assignments so that I can correctly update the assignments

      Acceptance Criteria:

      1. For every unique Facility and Program combo that is active check for active users in the following way:
        • User must be active and verified
        • The required Role Type that should be assigned is SUPERVISION.
        • The rights can be assigned at a user's Home Facility, or via Supervisory Node
        • The required Rights that should be assigned: REQUISITION_VIEW, REQUISITION_CREATE, REQUISITION_AUTHORIZE, REQUISITION_APPROVE, REQUISITION_DELETE
        • One user or more users must have the required rights assigned. (query each of the 5 rights for every facility and program combo. If zero are found, then this is an error)
      2. When records are corrected, the report no longer shows the records.
      3. When the report is run and there are no records, the report shows "No records missing assignments"
      4. Report shows the date it is generated
      5. This new report is located in View Reports
      6. User with Admin Type rights for MANAGE_USERS and Report Type rights of VIEW_REPORTS, is the only user able to run these reports. Users without these rights should not be able to view the report in View Reports tab
      7. Report formats should match existing Jasper formats
      8. Report should list the records that are missing assignments and the following columns:
        Facility Code Facility Name Facility Type Assigned Programs Assigned Roles Assigned Supervisory Node
        HC01 Comfort Health Clinic Health Center Family Planning storeroom manager null
        HF01 Nandumbo Health Facility Health Center Family Planning store manager, storeroom manager SN1

      Assumptions:

      1. The manual process of resolving these errors is out of scope

        Checklists

          Attachments

          1. 2. pdf.png
            51 kB
          2. 3. libreoffice calc csv.png
            55 kB
          3. 4. xls.png
            42 kB
          4. 5. html.png
            30 kB

            Issue links

              Activity

                People

                • Assignee:
                  mkwiatkowski Mateusz Kwiatkowski
                  Reporter:
                  sam.im Sam Im
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 days, 4 hours Original Estimate - 2 days, 4 hours
                    2d 4h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 days, 4 hours
                    4d 4h