14 lines
842 B
SQL
14 lines
842 B
SQL
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'),
|
|
(108, 'ItemPlacement', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
|
(109, 'UserConfig', '*', '*', 'ALLOW', 'ROLE', 'employee'),
|
|
(110, 'Bank', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
(111, 'ClientLog', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
(112, 'Defaulter', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
|
UPDATE salix.ACL
|
|
SET model='ItemTag', property='*', accessType='WRITE', permission='ALLOW', principalType='ROLE', principalId='marketingBoss'
|
|
WHERE id=52; |