In staging koji grant admin perm to mbs.stg
This commit is contained in:
parent
58022df256
commit
e4eec6ddea
1 changed files with 2 additions and 1 deletions
|
@ -94,8 +94,9 @@ 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', 'psabata', 'jkaluza', 'fivaldi', 'mprahl'] %}
|
||||
{% for username in ['modularity', 'mizdebsk', 'psabata', 'jkaluza', 'fivaldi', 'mprahl', 'mbs/mbs.stg.fedoraproject.org'] %}
|
||||
select now() as time, 'adding staging admin {{username}}' as msg;
|
||||
insert into users (name, usertype, status) values ('{{username}}', 0, 0) on conflict do nothing;
|
||||
insert into user_perms (user_id, perm_id, active, creator_id) values (
|
||||
(select id from users where name='{{username}}'),
|
||||
(select id from permissions where name='admin'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue