Merge pull request #3174 from anoek/3076

Allow users to post some ignored read only fields to job templates without elevated permissions
This commit is contained in:
Akita Noek 2016-08-01 15:45:02 -04:00 committed by GitHub
commit fc253e2d71

View File

@ -982,7 +982,10 @@ class JobTemplateAccess(BaseAccess):
'name', 'description', 'forks', 'limit', 'verbosity', 'extra_vars',
'job_tags', 'force_handlers', 'skip_tags', 'ask_variables_on_launch',
'ask_tags_on_launch', 'ask_job_type_on_launch', 'ask_inventory_on_launch',
'ask_credential_on_launch', 'survey_enabled'
'ask_credential_on_launch', 'survey_enabled',
# These fields are ignored, but it is convenient for QA to allow clients to post them
'last_job_run', 'created', 'modified',
]
for k, v in data.items():