tulip/ppe-logistics

Limit NSRN Courier Network view to supported suppliers

Opened this issue · 1 comments

Right now the Courier Network Manager view (Supplier Manager > Transport Requests > Courier Manager) shows all couriers from all organizations. NSRN is ramping up their support of various suppliers (Miami, Resource 19, PHL?) so it would be good to filter their view so that they don't see MasksOn or other courier requests.

In an ideal world there'd be a mapping in the database, and screens in the UI for various orgs to grant access for their courier requests to a particular Courier Network Manager org. But that would take a fair bit of work and time.

So instead, the simplest thing to do right now would be to hard-code the connector that supports that screen, and have itfilter based on org. If the org is NSRN, then show only transport requests from the select few orgs; otherwise perhaps default to nothing, or the org's own requests. For testing in the dev environment we should make it so that it filters for Kirby PPE Dreamworld and perhaps one other org.

Created new connectors:

  • "Courier manager - Main 3 wcid w/ org filter" replaces "Courier manager - Main 2 wcid", and filters org of demand rows.
  • "Transport Manager-Courier Dist 2 (wcid) w/ org filter" replaces "Transport Manager-Courier Dist (wcid)" and filters list of couriers to only those in the current org.

New behavior snapshotted; will do more extensive testing tomorrow.