salix/db/changes/232201/00-aclRole.sql

5 lines
227 B
MySQL
Raw Normal View History

2023-05-23 08:43:46 +00:00
DELETE FROM `salix`.`ACL` WHERE model = 'Role';
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('Role', '*', 'READ', 'ALLOW', 'ROLE', 'employee');