Commit 0f12ba49 authored by Piotr Gawron's avatar Piotr Gawron

Merge branch 'patch-1' into 'master'

default privileges are marked with '*' project id

See merge request !949
parents e1234ffa a5f99216
Pipeline #14767 failed with stage
in 10 minutes and 28 seconds
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment