Is it necessary add IsAuthenticated permissions to permission_classes in view that is inherited from LoginRequiredMixin

I have a class-based view called ProfileDetail. It is inherit LoginRequiredMixin from django.contrib.auth.mixins. And then set permission_classes = (IsAuthenticated,). Basically all client that view ProfileDetail is already logged-in, hence authenticated. My question is, is it necessary to set permission_classes = (IsAuthenticated,) even though all client already logged-in? What's your advice? Thank you.

Back to Top