refs #4815 feat:DeviceLog Model #1705

Merged
sergiodt merged 5 commits from 4815-deviLogModel into dev 2023-09-01 10:45:19 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 281ae0eb04 - Show all commits

View File

@ -1,6 +1,6 @@
ALTER TABLE vn.deviceLog ADD serialNumber varchar(45) DEFAULT NULL NULL;
ALTER TABLE `vn`.`deviceLog`ADD serialNumber varchar(45) DEFAULT NULL NULL;
Outdated
Review

Comilles

Comilles
INSERT INTO `salix`.`ACL` ( model, property, accessType, permission, principalType, principalId)
VALUES( 'DeviceLog', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee');
VALUES( 'DeviceLog', 'create', 'WRITE', 'ALLOW', 'ROLE', 'employee');
Outdated
Review

Que tingues permis de escritura en un log no es un poc extrany?
I si es aixina, si pots donarlilo sobre la ruta especifica millor (create, updateAttributes, etc...)

Que tingues permis de escritura en un log no es un poc extrany? I si es aixina, si pots donarlilo sobre la ruta especifica millor (create, updateAttributes, etc...)