This commit is contained in:
parent
29fb36010c
commit
48dd068190
|
@ -6,8 +6,8 @@ INSERT INTO `account`.`roleInherit` (role, inheritsFrom)
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
||||||
VALUES
|
VALUES
|
||||||
('workerTimeControl', 'login', 'READ', 'ALLOW', 'ROLE', '*'),
|
('WorkerTimeControl', 'login', 'READ', 'ALLOW', 'ROLE', 'timeControl'),
|
||||||
('workerTimeControl', 'getClockIn', 'READ', 'ALLOW', 'ROLE', '*'),
|
('WorkerTimeControl', 'getClockIn', 'READ', 'ALLOW', 'ROLE', 'timeControl'),
|
||||||
('workerTimeControl', 'clockIn', 'WRITE', 'ALLOW', 'ROLE', '*');
|
('WorkerTimeControl', 'clockIn', 'WRITE', 'ALLOW', 'ROLE', 'timeControl');
|
||||||
|
|
||||||
CALL `account`.`role_sync`();
|
CALL `account`.`role_sync`();
|
||||||
|
|
Loading…
Reference in New Issue