If the line item is attached to a purchase order, this branch will check if you have the CREATE_PURCHASE_ORDER perm at the PO's ordering agency; otherwise, if the line item is attached to a picklist, it will check if you have CREATE_PICKLIST at the picklist's org unit. Either way, acquisitions staff will be able to delete each other's line items, which is new behavior.
No pullrequest yet since the branch needs a bit of testing.
Working branch user/jeffdavis/ lp1966096- delete- lineitem- perm-check has a fix:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp1966096- delete- lineitem- perm-check
If the line item is attached to a purchase order, this branch will check if you have the CREATE_ PURCHASE_ ORDER perm at the PO's ordering agency; otherwise, if the line item is attached to a picklist, it will check if you have CREATE_PICKLIST at the picklist's org unit. Either way, acquisitions staff will be able to delete each other's line items, which is new behavior.
No pullrequest yet since the branch needs a bit of testing.