2023-09-20 13:10:28 +00:00
|
|
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
|
|
VALUES
|
|
|
|
('VnUser', 'higherPrivileges', '*', 'ALLOW', 'ROLE', 'itManagement'),
|
2023-09-25 06:33:16 +00:00
|
|
|
('VnUser', 'mediumPrivileges', '*', 'ALLOW', 'ROLE', 'hr'),
|
|
|
|
('VnUser', 'updateUser', '*', 'ALLOW', 'ROLE', 'employee');
|
|
|
|
|
|
|
|
ALTER TABLE `account`.`user` ADD `username` varchar(30) AS (name) VIRTUAL;
|