Skip to content
Snippets Groups Projects
Commit a5f99216 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

default privileges are marked with '*' project id

parent e1234ffa
No related branches found
No related tags found
1 merge request!949default privileges are marked with '*' project id
Pipeline #14153 passed
......@@ -106,3 +106,6 @@ alter table privilege_table alter column object_id type varchar;
-- change id to project_id for project prvileges
update privilege_table set object_id = (select project_id from project_table where id::text = object_id) where object_id is not null;
-- default privileges are marked with '*' project id
update privilege_table set object_id = '*' where object_id is null and type like '%PROJECT%';
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment