mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -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>
23 lines
487 B
Python
23 lines
487 B
Python
from django.db import migrations
|
|
|
|
RADIUS_AUTH_CONF_KEYS = [
|
|
'RADIUS_SERVER',
|
|
'RADIUS_PORT',
|
|
'RADIUS_SECRET',
|
|
]
|
|
|
|
|
|
def remove_radius_auth_conf(apps, scheme_editor):
|
|
setting = apps.get_model('conf', 'Setting')
|
|
setting.objects.filter(key__in=RADIUS_AUTH_CONF_KEYS).delete()
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('conf', '0012_remove_oidc_auth_conf'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RunPython(remove_radius_auth_conf),
|
|
]
|