salix/db/changes/234201/00-ACL_workerDepartment.sql

4 lines
176 B
SQL

INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
VALUES
('WorkerDepartment', '*', '*', 'ALLOW', 'ROLE', 'employee');