1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

Set view's permission classes to be more explicit

This commit is contained in:
beeankha 2019-08-23 14:50:48 -04:00 committed by Ryan Petrello
parent ea509f518e
commit b2819793df
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -3016,6 +3016,7 @@ class WorkflowJobTemplateNodeCreateApproval(RetrieveAPIView):
model = models.WorkflowJobTemplateNode
serializer_class = serializers.WorkflowJobTemplateNodeCreateApprovalSerializer
permission_classes = []
def post(self, request, *args, **kwargs):
obj = self.get_object()