fixes #4059 acl for address
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Javi Gallego 2023-09-11 16:24:47 +02:00
parent d602709679
commit 705505b931
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ INSERT INTO salix.ACL (model,property,accessType,permission,principalType,princi
VALUES ('Client','find','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Client','exists','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Client','__get__addresses','READ','ALLOW','ROLE','employee');
DELETE FROM salix.ACL WHERE model = 'Client' AND property = '*' AND accessType IN (
'campaignMetricsEmail',