From a66c5e67984950e8f6fcb11a424af51694ec6f9d Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 24 Oct 2022 11:30:17 +0200 Subject: [PATCH] acl --- db/changes/10490-august/00-acl_receiptPdf.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 db/changes/10490-august/00-acl_receiptPdf.sql diff --git a/db/changes/10490-august/00-acl_receiptPdf.sql b/db/changes/10490-august/00-acl_receiptPdf.sql new file mode 100644 index 000000000..42f84b87d --- /dev/null +++ b/db/changes/10490-august/00-acl_receiptPdf.sql @@ -0,0 +1,3 @@ +INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) + VALUES + ('Receipt', 'receiptPdf', '*', 'ALLOW', 'ROLE', 'salesAssistant');