salix/db/versions/11033-aquaPaniculata/00-rollbackAcls.sql

10 lines
293 B
MySQL
Raw Normal View History

2024-05-07 09:47:22 +00:00
DELETE FROM salix.ACL
WHERE model = 'Worker'
AND property = '__get__summary'
AND principalId = 'employee';
UPDATE salix.ACL SET principalId = 'employee'
WHERE model = 'Worker'
AND property IN ('find','findById','findOne')
AND principalId = 'hr';