From 4c3b8763a89d1e6974592c2791a218ef0137238d Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sun, 9 Jul 2023 19:18:21 +0800 Subject: [PATCH] Readded permission class --- stude/student_status/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stude/student_status/views.py b/stude/student_status/views.py index b2a1de6..01727f0 100644 --- a/stude/student_status/views.py +++ b/stude/student_status/views.py @@ -15,7 +15,7 @@ class StudentStatusAPIView(generics.RetrieveUpdateAPIView): class ActiveStudentStatusListAPIView(generics.ListAPIView): serializer_class = StudentStatusSerializer - # permission_classes = [IsAuthenticated] + permission_classes = [IsAuthenticated] def get_queryset(self): user = self.request.user