Migrate prod to stg kerberos principals in the koji db during sync
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
33e589722c
commit
b9307ffed6
1 changed files with 1 additions and 0 deletions
|
@ -165,5 +165,6 @@ insert into user_perms (user_id, perm_id, active, creator_id) values (
|
|||
('containerbuild', 'osbs/osbs.stg.fedoraproject.org')] %}
|
||||
update users set krb_principal='{{principal}}@STG.FEDORAPROJECT.ORG' where username='{{username}}';
|
||||
{% endfor %}
|
||||
update users set krb_principal=replace(krb_principal, '@FEDORAPROJECT.ORG', '@STG.FEDORAPROJECT.ORG');
|
||||
|
||||
VACUUM ANALYZE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue