Skip to content
Snippets Groups Projects
Commit 75e928da authored by Jakob Dieterle's avatar Jakob Dieterle Committed by Jakob Dieterle
Browse files

fix accessrights

parent 6206f501
No related branches found
No related tags found
1 merge request!244Resolve "Make exam a many to many field on StudentInfo model"
......@@ -106,6 +106,7 @@ class StudentReviewerApiViewSet(viewsets.ReadOnlyModelViewSet):
class ExamApiViewSet(viewsets.ReadOnlyModelViewSet):
""" Gets a list of an individual exam by Id if provided """
permission_classes = (IsReviewer,)
queryset = ExamType.objects.all()
serializer_class = ExamSerializer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment