mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-25 18:32:17 -04:00
Users without the 'employees' permission can no longer impersonate other employees when creating or editing expenses and receivings. The employee field is now restricted to the current user for new records and shows the stored employee for existing records. Changes: - Expenses controller: Add permission check in getView() and postSave() - Receivings controller: Add permission check in getEdit() and postSave() - Form views: Conditionally display dropdown or read-only field Fixes #3616
23 KiB
23 KiB