agency module ACL's

This commit is contained in:
Joan Sanchez 2019-01-31 07:18:07 +01:00
parent 4fb9d9a3f9
commit 15f43c248e
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Zone','*','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('ZoneGeo','*','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('ZoneCalendar','*','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('ZoneIncluded','*','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('LabourHoliday','*','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('LabourHolidayLegend','*','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('LabourHolidayType','*','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Zone','*','WRITE','ALLOW','ROLE','deliveryBoss');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('ZoneCalendar','*','WRITE','ALLOW','ROLE','deliveryBoss');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('ZoneIncluded','*','WRITE','ALLOW','ROLE','deliveryBoss');