View CCE details for my home facility

Description

As a DIVO I need to be able to view and edit CCE Inventory for my home facility and my supervised facilities.

(Background: when Chongsun loaded CCE demo data, and logged in as DIVO 1, he was only able to see CCE items for supervised facilities, and not the user's home facility.)

Acceptance Criteria:

  1. If user has a home facility assigned and the "View Cold Chain Equipment Inventory" right and/or "Edit Cold Chain Equipment Inventory" right by a program, I must see all CCE inventory items for my home facility for that program.

  2. If user has the "View Cold Chain Equipment Inventory" right and/or "Edit Cold Chain Equipment Inventory" right by a program and a supervisory node, I must see all CCE inventory items for my supervised facilities under that supervisory node for that program.

  3. If user has a home facility assigned and the "View Cold Chain Equipment Inventory" right and/or "Edit Cold Chain Equipment Inventory" right by a program, and those same rights by a program and a supervisory node, I must see all CCE inventory items for my home facility for that program, and my supervised facilities under that supervisory node for that program as well.

  4. If needed add users to easier QA the above points.

Assumption:

  • To test this ticket the dev or QA will need to change a user's home facility, supervisory nodes, and rights to match acceptance criteria #2 and #3. (move to AC)

Activity

Show:
Joanna Bebak
November 16, 2017, 7:35 AM

All right, in that case, I will close the ticket.

Sam Im
November 15, 2017, 11:41 PM

, I created

Nikodem Graczewski
November 15, 2017, 9:32 PM

As this ticket has already been QAd, I would suggest creating a new ticket, which we will pull if we're sure we have the capacity to complete it. Adding the requested feature might require some work on both UI and the back-end. Does that sound good to you?

FYI

Sam Im
November 15, 2017, 8:37 PM

, , , ,
This is more than a ticket to update demo data. I forgot to specify in the acceptance criteria for this ticket, that the user has an available selection when they go to the CCE Inventory page. We want the user to be able to select between My Facility or Supervised Facilities, similar to how this works in View Requisitions and View Orders. Can this be added as part of this ticket, or do I need to create a separate ticket?

FYI

Klaudia Pałkowska
November 15, 2017, 2:29 PM

Based on discussion on #help channel on Slack - I think we can skip updating changelog (README file is updated).

Done

Assignee

Klaudia Pałkowska

Reporter

Sam Im

Labels