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

This commit is contained in:
Carlos Satorres 2023-06-28 11:30:45 +02:00
parent 39f8212529
commit 3bea23c52a
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
INSERT INTO account.roleInherit
SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant'), ri.inheritsFrom
INSERT INTO account.roleInherit(role,inheritsFrom)
SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant') role, ri.inheritsFrom
FROM account.roleInherit ri
JOIN account.role r ON r.id = ri.`role`
WHERE r.name = 'deliveryBoss';

File diff suppressed because one or more lines are too long

View File

@ -462,7 +462,7 @@ DROP TABLE IF EXISTS `role`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `role` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(14) NOT NULL COMMENT 'MySQL doesn''t support more than 14 chars for proxied user names',
`name` varchar(79) NOT NULL COMMENT 'MySQL doesn''t support more than 14 chars for proxied user names',
`description` varchar(100) DEFAULT NULL,
`hasLogin` tinyint(3) unsigned NOT NULL DEFAULT 1,
`created` timestamp NOT NULL DEFAULT current_timestamp(),