mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
remove /api/v1 and deprecated credential fields
This commit is contained in:
@@ -88,7 +88,7 @@ class SettingSingletonSerializer(serializers.Serializer):
|
||||
continue
|
||||
extra_kwargs = {}
|
||||
# Make LICENSE and AWX_ISOLATED_KEY_GENERATION read-only here;
|
||||
# LICENSE is only updated via /api/v1/config/
|
||||
# LICENSE is only updated via /api/v2/config/
|
||||
# AWX_ISOLATED_KEY_GENERATION is only set/unset via the setup playbook
|
||||
if key in ('LICENSE', 'AWX_ISOLATED_KEY_GENERATION'):
|
||||
extra_kwargs['read_only'] = True
|
||||
|
||||
Reference in New Issue
Block a user