mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
Template `use` is now a verb. - Template admins can `use` all templates (org template admins same in org) - Members get the `use` perm from the `everyone` group in the `group_acl`.
6 lines
173 B
SQL
6 lines
173 B
SQL
UPDATE
|
|
templates
|
|
SET
|
|
group_acl = replace(group_acl::text, '["read", "use"]', '["read"]')::jsonb,
|
|
user_acl = replace(user_acl::text, '["read", "use"]', '["read"]')::jsonb
|