Files
opensourcepos/app/Controllers
jekkos 3a1ddc69f8 fix(receivings): gate per-record endpoints behind reports_receivings grant (#4798)
getEdit, postDelete, getReceipt, and postSave all accept a
user-controlled receiving_id and previously only checked the class-level
receivings module grant. This allowed any employee with basic receiving
permissions to read, modify, or delete historical receiving records
belonging to other employees.

Add reports_receivings permission checks to all four per-record
endpoints, following the same pattern as Sales (PR #4627).
2026-11-03 00:00:43 +01:00
..
2025-03-28 21:24:21 +04:00