Done
Details
Assignee
Craig McNallyCraig McNallyReporter
Craig McNallyCraig McNallyTester Assignee
Craig McNallyCraig McNallyPriority
P3Story Points
3Sprint
NoneDevelopment Team
ThunderjetFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Craig McNally
Craig McNallyReporter
Craig McNally
Craig McNallyTester Assignee
Craig McNally
Craig McNallyPriority
Story Points
3
Sprint
None
Development Team
Thunderjet
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created May 23, 2019 at 5:53 PM
Updated November 9, 2021 at 6:01 PM
Resolved August 12, 2019 at 5:00 PM
Overview
Restrict search/view of orders, poLines and pieces based upon the acquisitions unit memberships of the user and the acquisitions unit being assigned to the record.
GET by Id applies to:
purchase-orders
po-lines
pieces
GET by query applies to:
purchase-orders
po-lines
orders
order-lines
receiving-history
NOTE: since get pieces by query (
GET /order-storage/pieces?query=...
) isn't exposed via mod-orders and only used internally we don't need to touch it in scope of this story. At some point that endpoint might be deprecated in favor of receiving-history anyway.Acquisitions units are described on the wiki . The order-specific details which this story covers can also be found there.
Acceptance Criteria:
Acquisitions units are used to determine if a user can search for/view the PO/POL/Piece record
Unit tests are updated
API tests are updated