Readded permission class

This commit is contained in:
Keannu Bernasol 2023-07-09 19:18:21 +08:00
parent a285d9ebb0
commit 4c3b8763a8

View file

@ -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