Cambios SQL
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Joan Sanchez 2023-04-17 14:15:39 +02:00
parent 3ee29553b4
commit 06a845e7f0
2 changed files with 11 additions and 4 deletions

View File

@ -1,7 +1,14 @@
INSERT INTO salix.`ACL` (model, property, accessType, permission, principalType, principalId)
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
VALUES
('VnUser', '*', '*', 'ALLOW', 'ROLE', 'employee'),
('VnUser','acl','READ','ALLOW','ROLE','account'),
('VnUser','getCurrentUserData','READ','ALLOW','ROLE','account');
('VnUser','getCurrentUserData','READ','ALLOW','ROLE','account'),
('VnUser','changePassword', 'WRITE', 'ALLOW', 'ROLE', 'account');
DELETE FROM `salix`.`ACL` WHERE (model, property) = ('Account', 'acl');
DELETE FROM `salix`.`ACL` WHERE (model, property) = ('Account', 'getCurrentUserData');
UPDATE `hedera`.`imageCollection` t
SET t.model = 'VnUser'
WHERE t.id = 6;
DELETE FROM salix.`ACL` WHERE (model, property) = ('Account', 'acl');
DELETE FROM salix.`ACL` WHERE (model, property) = ('Account', 'getCurrentUserData');