From 861c36103d3f2a3a09d3d3204832b516e8abf631 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sat, 10 Feb 2018 02:58:54 +0000 Subject: [PATCH] Remove ralph and puiterwijk from list of stg-only Koji admins Lets not try to grant admin perm to users that already have it, or we'd get duplicate constraint violation errors. --- playbooks/manual/staging-sync/templates/koji-reset-staging.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql index e639f94b3c..8bd43f919c 100644 --- a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql +++ b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql @@ -147,7 +147,7 @@ insert into host_channels (host_id, channel_id) values ( -- Add some people to be admins, only in staging. Feel free to grow this list.. -{% for username in ['modularity', 'mizdebsk', 'ralph', 'psabata', 'puiterwijk', 'jkaluza', 'fivaldi', 'mprahl'] %} +{% for username in ['modularity', 'mizdebsk', 'psabata', 'jkaluza', 'fivaldi', 'mprahl'] %} select now() as time, 'adding staging admin {{username}}' as msg; insert into user_perms (user_id, perm_id, active, creator_id) values ( (select id from users where name='{{username}}'),