mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 05:51:56 +08:00
In staging koji grant admin perm to mbs.stg
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user