mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Add a specific tower warnings file in the tower home directory.
Configure the api viewer to emit warnings for 4XX and 5XX status codes into that file. Configure it for use on a production system. Closes AC-685
This commit is contained in:
@@ -142,7 +142,7 @@ class JobTemplateCallbackPermission(ModelAccessPermission):
|
||||
# True to fall through to the next permission class.
|
||||
if (request.user or request.auth) and request.method.lower() != 'post':
|
||||
return super(JobTemplateCallbackPermission, self).has_permission(request, view, obj)
|
||||
|
||||
|
||||
# Require method to be POST, host_config_key to be specified and match
|
||||
# the requested job template, and require the job template to be
|
||||
# active in order to proceed.
|
||||
|
||||
Reference in New Issue
Block a user