Remove redundant authenticated check from cards API
This commit is contained in:
parent
244a78d8b5
commit
1db63c9615
|
@ -141,7 +141,7 @@ class MemberViewSet(Base, Retrieve, Update):
|
||||||
|
|
||||||
|
|
||||||
class CardViewSet(Base, Create, Retrieve, Update, Destroy):
|
class CardViewSet(Base, Create, Retrieve, Update, Destroy):
|
||||||
permission_classes = [AllowMetadata | IsAuthenticated, IsAdmin]
|
permission_classes = [AllowMetadata | IsAdmin]
|
||||||
queryset = models.Card.objects.all()
|
queryset = models.Card.objects.all()
|
||||||
serializer_class = serializers.CardSerializer
|
serializer_class = serializers.CardSerializer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user