Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
403df8b2
Commit
403df8b2
authored
5 years ago
by
Guillaume Heurtier
Browse files
Options
Downloads
Patches
Plain Diff
FIX #11645 TIME 0:25 set all groups as parameters for groups having admin_users
parent
befc45df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
migration/19.12/1912.sql
+6
-0
6 additions, 0 deletions
migration/19.12/1912.sql
with
6 additions
and
0 deletions
migration/19.12/1912.sql
+
6
−
0
View file @
403df8b2
...
...
@@ -437,6 +437,12 @@ DELETE FROM usergroups_services WHERE service_id = 'delete_attachments';
ALTER
TABLE
usergroups_services
DROP
COLUMN
IF
EXISTS
parameters
;
ALTER
TABLE
usergroups_services
ADD
parameters
jsonb
;
UPDATE
usergroups_services
SET
parameters
=
(
cast
(
'{"groups": ['
||
(
SELECT
string_agg
(
cast
(
id
AS
VARCHAR
),
', '
ORDER
BY
id
)
FROM
usergroups
)
||
']}'
AS
jsonb
)
)
WHERE
service_id
=
'admin_users'
;
UPDATE
listmodels
SET
title
=
object_id
WHERE
title
IS
NULL
;
UPDATE
baskets
SET
basket_clause
=
REGEXP_REPLACE
(
basket_clause
,
'coll_id(
\s
*)=(
\s
*)
''
letterbox_coll
''
(
\s
*)AND'
,
''
,
'gmi'
)
WHERE
basket_id
in
(
'CopyMailBasket'
,
'DdeAvisBasket'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment