refs #5509 fix(EntryDms): sql
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-02-23 07:39:56 +01:00
parent 1f48245223
commit 4a2032b9cd
2 changed files with 6 additions and 8 deletions

View File

@ -12,11 +12,4 @@ CREATE OR REPLACE TABLE `vn`.`entryDms` (
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('WorkerDms', '*', '*', 'ALLOW', 'ROLE', 'employee'),
('EntryDms', '*', '*', 'ALLOW', 'ROLE', 'employee'),
('Entry', 'uploadFile', 'WRITE', 'ALLOW', 'ROLE', 'employee');
UPDATE `salix`.`ACL`
SET accessType = '*'
WHERE model = 'ClientDms'
AND property = '*';
('EntryDms', '*', '*', 'ALLOW', 'ROLE', 'employee');

View File

@ -9,6 +9,11 @@
"table": "entryDms"
}
},
"allowedContentTypes": [
"image/png",
"image/jpeg",
"image/jpg"
],
"properties": {
"dmsFk": {
"type": "number",