mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
Emit approve/deny status for websockets, update doc string + a comment
This commit is contained in:
@@ -249,4 +249,3 @@ class InstanceGroupTowerPermission(ModelAccessPermission):
|
||||
if request.method == 'DELETE' and obj.name == "tower":
|
||||
return False
|
||||
return super(InstanceGroupTowerPermission, self).has_object_permission(request, view, obj)
|
||||
|
||||
|
||||
@@ -4487,8 +4487,7 @@ class WorkflowApprovalDeny(RetrieveAPIView):
|
||||
obj.deny(request)
|
||||
return Response(status=status.HTTP_204_NO_CONTENT)
|
||||
|
||||
|
||||
|
||||
# Placeholder code for approval notification support
|
||||
class WorkflowApprovalNotificationsList(SubListAPIView):
|
||||
|
||||
model = models.Notification
|
||||
|
||||
Reference in New Issue
Block a user