From 357a735e56abfb63a4449c95a43afe74d59663f8 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Mon, 14 May 2018 16:01:36 -0400 Subject: [PATCH] fix a bug that prevented JT admins from editing diff mode see: https://github.com/ansible/tower/issues/801 --- awx/main/access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/access.py b/awx/main/access.py index 8e0fe1c214..67bb01905d 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -1366,7 +1366,7 @@ class JobTemplateAccess(BaseAccess): 'job_tags', 'force_handlers', 'skip_tags', 'ask_variables_on_launch', 'ask_tags_on_launch', 'ask_job_type_on_launch', 'ask_skip_tags_on_launch', 'ask_inventory_on_launch', 'ask_credential_on_launch', 'survey_enabled', - 'custom_virtualenv', + 'custom_virtualenv', 'diff_mode', # These fields are ignored, but it is convenient for QA to allow clients to post them 'last_job_run', 'created', 'modified',