mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-11-22 04:41:31 +00:00
fix sql permissions
This commit is contained in:
parent
44390be33b
commit
60dd2927ca
@ -1,6 +1,6 @@
|
|||||||
with user_id as (insert into users (name, status, usertype) values ('{{ koji_admin_user }}', 0, 0) returning id)
|
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_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 user_perms (user_id, perm_id, creator_id) values (1, 1, 1);
|
||||||
with user_id as (insert into users (name, status, usertype) values ('{{ koji_kojira_user_kerb }}', 0 0) returning id)
|
with user_id as (insert into users (name, status, usertype) values ('{{ koji_kojira_user_kerb }}', 0, 0) returning id)
|
||||||
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_kojira_principal }}');
|
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_kojira_principal }}');
|
||||||
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (2, 10, 1);
|
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (2, 10, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user