mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-11-25 06:11:23 +00:00
6 lines
463 B
Django/Jinja
6 lines
463 B
Django/Jinja
with user_id as (insert into users (name, status, usertype) values ('{{ koji_admin_user }}', 0, 0) returning id)
|
|
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_admin_principal }}');
|
|
insert into user_perms (user_id, perm_id, creator_id) values (1, 1, 1);
|
|
insert into users (name, status, usertype) values ('{{ koji_kojira_user }}', 0, 0);
|
|
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (2, 10, 1);
|