salix/db/versions/11108-redRose/00-firstScript.sql

7 lines
302 B
SQL

-- Place your SQL code here
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
VALUES
('MedicalReview', '*', '*', 'ALLOW', 'ROLE', 'hr'),
('MedicalCenter', '*', '*', 'ALLOW', 'ROLE', 'hr'),
('Worker', '__get__medicalReview', '*', 'ALLOW', 'ROLE', 'hr');