2018-10-04 12:01:52 +00:00
|
|
|
INSERT INTO salix.ACL(id, model, property, accessType, permission, principalType, principalId)
|
|
|
|
VALUES
|
|
|
|
(104, 'Item', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
|
|
|
(105, 'ItemBarcode', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
|
|
|
(106, 'ItemBotanical', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
|
|
|
(107, 'ItemNiche', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
2018-10-05 09:53:23 +00:00
|
|
|
(108, 'ItemPlacement', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
|
|
|
(109, 'UserConfig', '*', '*', 'ALLOW', 'ROLE', 'employee'),
|
2018-10-11 06:09:30 +00:00
|
|
|
(110, 'Bank', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
2018-10-11 09:01:58 +00:00
|
|
|
(111, 'ClientLog', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
2018-10-19 06:40:32 +00:00
|
|
|
(112, 'Defaulter', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
2018-10-22 09:13:49 +00:00
|
|
|
(113, 'ClientRisk', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
(114, 'Receipt', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
(115, 'Receipt', '*', 'WRITE', 'ALLOW', 'ROLE', 'administrative');
|
2018-10-04 12:01:52 +00:00
|
|
|
UPDATE salix.ACL
|
|
|
|
SET model='ItemTag', property='*', accessType='WRITE', permission='ALLOW', principalType='ROLE', principalId='marketingBoss'
|
|
|
|
WHERE id=52;
|