|
-- Place your SQL code here
|
|
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
|
|
VALUES ('Worker', '__get__descriptor', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
('Worker', 'findById', 'READ', 'ALLOW', 'ROLE', '$subordinate'); |