Fix up some rbac issues that were blocking survey taker incidentally and

otherwise preventing normal users with the right permissions from
starting jobs
This commit is contained in:
Matthew Jones
2014-12-01 14:00:35 -05:00
parent a319def4b4
commit fc5eb09e2a
2 changed files with 2 additions and 0 deletions

View File

@@ -1474,6 +1474,7 @@ class JobTemplateDetail(RetrieveUpdateDestroyAPIView):
class JobTemplateLaunch(GenericAPIView):
model = JobTemplate
is_job_start = True
def get(self, request, *args, **kwargs):
obj = self.get_object()