tulip / ppe-logistics

Issue Tracking for PPELogistics.org
2 stars 1 forks source link

Limit NSRN Courier Network view to supported suppliers #233

Open ianslai opened 4 years ago

ianslai commented 4 years ago

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.

ianslai commented 4 years ago

Created new connectors:

New behavior snapshotted; will do more extensive testing tomorrow.