Skip to content
Snippets Groups Projects
Commit 409da1be authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh
Browse files

finally figured out django perms, now can compile w/o logged in

parent ad79c86c
No related branches found
No related tags found
1 merge request!223Reports overhaul
......@@ -577,8 +577,8 @@ class ReportRSTCompileView(BaseReportActionView):
#----------------------------------------------------------
class ReportRSTCompileAnonView(CommonContextMixin, generics.RetrieveAPIView):
permission_classes = BaseReportActionView.permission_classes + [IsEditable]
class ReportRSTCompileAnonView(views.APIView):
permission_classes = [permissions.AllowAny]
def post(self, request, number):
report = get_object_or_404(Report, number=int(number))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment