5509-entryDmsBack #2079
|
@ -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');
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
"table": "entryDms"
|
||||
}
|
||||
},
|
||||
"allowedContentTypes": [
|
||||
"image/png",
|
||||
"image/jpeg",
|
||||
"image/jpg"
|
||||
],
|
||||
"properties": {
|
||||
"dmsFk": {
|
||||
"type": "number",
|
||||
|
|
Loading…
Reference in New Issue