Emit approve/deny status for websockets, update doc string + a comment

This commit is contained in:
beeankha
2019-08-13 20:50:08 -04:00
committed by Ryan Petrello
parent 761dad060c
commit f7d6f4538c
4 changed files with 10 additions and 5 deletions

View File

@@ -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)

View File

@@ -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