salix/db/versions/11400-turquoiseChrysanthemum/00-firstScript.sql

5 lines
226 B
SQL

DELETE FROM salix.ACL WHERE property = 'canCreateAbsenceInPast';
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Worker','canModifyAbsenceInPast','WRITE','ALLOW','ROLE','hr');