refs #5660 role mod
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-06-28 08:02:31 +02:00
parent eaf3f5e3ea
commit 68b65105fd
2 changed files with 9 additions and 27 deletions

View File

@ -1,7 +1,7 @@
-- Auto-generated SQL script #202306121356 -- Auto-generated SQL script. Actual values for binary/complex data types may differ - what you see is the default string representation of values.
UPDATE `account`.`role` INSERT INTO `account`.`role` (name,description)
SET `description` = 'Asistente de envios' VALUES ('deliveryAssistant','Asistencia de envios');
WHERE `name` = 'deliveryAssistant';

View File

@ -1,23 +1,5 @@
-- Auto-generated SQL script #202306121403 INSERT INTO account.roleInherit
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom) SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant'), ri.inheritsFrom
VALUES (117,1); FROM account.roleInherit ri
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom) JOIN account.role r ON r.id = ri.`role`
VALUES (117,2); WHERE r.name = 'deliveryBoss';
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,3);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,6);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,11);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,13);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,33);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,56);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,57);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,70);
INSERT INTO `account`.`roleInherit` (`role`,inheritsFrom)
VALUES (117,76);