insert acl
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2022-11-21 11:48:18 +01:00
parent 4c21ffac3b
commit 6ddd2d95a5
2 changed files with 5 additions and 1 deletions

View File

@ -98,3 +98,7 @@ BEGIN
DROP TEMPORARY TABLE tmp.stock;
END$$
DELIMITER ;
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
VALUES
('Ticket', 'getTicketsAdvance', 'READ', 'ALLOW', 'ROLE', 'employee');

View File

@ -5,7 +5,7 @@
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$authenticated",
"principalId": "employee",
"permission": "ALLOW"
}
]