13 lines
377 B
MySQL
13 lines
377 B
MySQL
|
-- Place your SQL code here
|
||
|
DELETE FROM salix.ACL WHERE model = 'Province' LIMIT 1;
|
||
|
DELETE FROM salix.ACL WHERE model = 'Town' LIMIT 1;
|
||
|
|
||
|
UPDATE salix.ACL SET accessType = 'READ' WHERE model = 'BankEntity';
|
||
|
INSERT INTO salix.ACL
|
||
|
SET model = 'BankEntity',
|
||
|
property = '*',
|
||
|
accessType = 'WRITE',
|
||
|
permission = 'ALLOW',
|
||
|
principalType = 'ROLE',
|
||
|
principalId = 'financial';
|