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

Merge branch 'patch-1' into 'master'

default privileges are marked with '*' project id

See merge request !949
parents e1234ffa a5f99216
......@@ -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
Supports Markdown
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