This commit is contained in:
parent
c997ad6ccb
commit
c5006b6be6
|
@ -22,12 +22,11 @@ DELETE FROM `salix`.`ACL`
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalid`)
|
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalid`)
|
||||||
SELECT 'Claim',`property`,'READ','ALLOW','ROLE','claimViewer'
|
VALUES ('Claim','filter','READ','ALLOW','ROLE','claimViewer');
|
||||||
FROM `salix`.`ACL`
|
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalid`)
|
||||||
WHERE `property` IN (
|
VALUES ('Claim','find','READ','ALLOW','ROLE','claimViewer');
|
||||||
'filter',
|
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalid`)
|
||||||
'find',
|
VALUES ('Claim','findById','READ','ALLOW','ROLE','claimViewer');
|
||||||
'findById',
|
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalid`)
|
||||||
'getSummary'
|
VALUES ('Claim','getSummary','READ','ALLOW','ROLE','claimViewer');
|
||||||
)
|
|
||||||
GROUP BY `property`;
|
|
||||||
|
|
Loading…
Reference in New Issue