mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 05:55:59 -03:30
- Sequentiallize auth config removal migrations - Remove references to third party auth - update license files - lint fix - Remove unneeded docs - Remove unreferenced file - Remove social auth references from docs - Remove rest of sso dir - Remove references to third part auth in docs - Removed screenshots of UI listing removed settings - Remove AuthView references - Remove unused imports ... Co-Authored-By: jessicamack <21223244+jessicamack@users.noreply.github.com>
21 lines
581 B
Python
21 lines
581 B
Python
# Generated by Django 4.2.10 on 2024-08-27 19:31
|
|
|
|
from django.db import migrations
|
|
|
|
OIDC_AUTH_CONF_KEYS = ['SOCIAL_AUTH_OIDC_KEY', 'SOCIAL_AUTH_OIDC_SECRET', 'SOCIAL_AUTH_OIDC_OIDC_ENDPOINT', 'SOCIAL_AUTH_OIDC_VERIFY_SSL']
|
|
|
|
|
|
def remove_oidc_auth_conf(apps, scheme_editor):
|
|
setting = apps.get_model('conf', 'Setting')
|
|
setting.objects.filter(key__in=OIDC_AUTH_CONF_KEYS).delete()
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('conf', '0011_remove_ldap_auth_conf'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RunPython(remove_oidc_auth_conf),
|
|
]
|