fix: refs #4774 fix acl
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2024-12-12 07:29:49 +01:00
parent dad7a272cd
commit 6abf47f1bd
1 changed files with 7 additions and 14 deletions

View File

@ -2,32 +2,25 @@
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES
('CompanyI18n','find','READ','ALLOW','ROLE','employee'),
('CompanyI18n','upsert','WRITE','ALLOW','ROLE','employee'),
('CompanyI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
('CompanyI18n','crud','WRITE','ALLOW','ROLE','employee'),
('CompanyI18n','create','WRITE','ALLOW','ROLE','employee'),
('ItemTypeI18n','find','READ','ALLOW','ROLE','employee'),
('ItemTypeI18n','upsert','WRITE','ALLOW','ROLE','employee'),
('ItemTypeI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
('ItemTypeI18n','crud','WRITE','ALLOW','ROLE','employee'),
('ItemTypeI18n','create','WRITE','ALLOW','ROLE','employee'),
('InkI18n','find','READ','ALLOW','ROLE','employee'),
('InkI18n','upsert','WRITE','ALLOW','ROLE','employee'),
('InkI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
('InkI18n','crud','WRITE','ALLOW','ROLE','employee'),
('InkI18n','create','WRITE','ALLOW','ROLE','employee'),
('OriginI18n','find','READ','ALLOW','ROLE','employee'),
('OriginI18n','upsert','WRITE','ALLOW','ROLE','employee'),
('OriginI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
('OriginI18n','crud','WRITE','ALLOW','ROLE','employee'),
('OriginI18n','create','WRITE','ALLOW','ROLE','employee'),
('StateI18n','find','READ','ALLOW','ROLE','employee'),
('StateI18n','upsert','WRITE','ALLOW','ROLE','employee'),
('StateI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
('StateI18n','crud','WRITE','ALLOW','ROLE','employee'),
('StateI18n','create','WRITE','ALLOW','ROLE','employee'),
('TagI18n','find','READ','ALLOW','ROLE','employee'),
('TagI18n','upsert','WRITE','ALLOW','ROLE','employee'),
('TagI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
('TagI18n','crud','WRITE','ALLOW','ROLE','employee'),
('TagI18n','create','WRITE','ALLOW','ROLE','employee'),
('itemCategoryI18n','find','READ','ALLOW','ROLE','employee'),
('itemCategoryI18n','upsert','WRITE','ALLOW','ROLE','employee'),
('itemCategoryI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
('itemCategoryI18n','crud','WRITE','ALLOW','ROLE','employee'),
('itemCategoryI18n','create','WRITE','ALLOW','ROLE','employee'),
('Application','getI18nTables','*','ALLOW','ROLE','employee');