mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
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:
@@ -982,7 +982,10 @@ class JobTemplateAccess(BaseAccess):
|
|||||||
'name', 'description', 'forks', 'limit', 'verbosity', 'extra_vars',
|
'name', 'description', 'forks', 'limit', 'verbosity', 'extra_vars',
|
||||||
'job_tags', 'force_handlers', 'skip_tags', 'ask_variables_on_launch',
|
'job_tags', 'force_handlers', 'skip_tags', 'ask_variables_on_launch',
|
||||||
'ask_tags_on_launch', 'ask_job_type_on_launch', 'ask_inventory_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():
|
for k, v in data.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user