From 59be2796be746a8a4d02ed0d8d184b2ddc84dd0c Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Fri, 4 Aug 2017 08:29:57 -0400 Subject: [PATCH] include read_only settings in list for special case --- awx/conf/registry.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/conf/registry.py b/awx/conf/registry.py index 00a2cd4057..a50753aecb 100644 --- a/awx/conf/registry.py +++ b/awx/conf/registry.py @@ -99,7 +99,8 @@ class SettingsRegistry(object): continue if kwargs.get('category_slug', None) in slugs_to_ignore: continue - if read_only in {True, False} and kwargs.get('read_only', False) != read_only: + if (read_only in {True, False} and kwargs.get('read_only', False) != read_only and + setting not in ('AWX_ISOLATED_PRIVATE_KEY', 'AWX_ISOLATED_PUBLIC_KEY')): # Note: Doesn't catch fields that set read_only via __init__; # read-only field kwargs should always include read_only=True. continue