mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Fix an issue where regular users couldn't relaunch jobs that they should
have permission to relaunch
This commit is contained in:
@@ -1832,6 +1832,7 @@ class JobCancel(RetrieveAPIView):
|
|||||||
class JobRelaunch(GenericAPIView):
|
class JobRelaunch(GenericAPIView):
|
||||||
|
|
||||||
model = Job
|
model = Job
|
||||||
|
is_job_start = True
|
||||||
# FIXME: Add serializer class to define fields in OPTIONS request!
|
# FIXME: Add serializer class to define fields in OPTIONS request!
|
||||||
|
|
||||||
@csrf_exempt
|
@csrf_exempt
|
||||||
|
|||||||
Reference in New Issue
Block a user