Skip to content

Commit

Permalink
Update permissions for bcodb search to AllowAny
Browse files Browse the repository at this point in the history
Changes to be committed:
	modified:   search/apis.py
  • Loading branch information
HadleyKing committed Jan 11, 2024
1 parent 919e29d commit 6bb6e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions search/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from drf_yasg import openapi
from drf_yasg.utils import swagger_auto_schema
from rest_framework import status
from rest_framework.permissions import IsAuthenticated
from rest_framework.permissions import AllowAny
from rest_framework.response import Response
from rest_framework.views import APIView
from search.selectors import search_db, controled_list
Expand All @@ -28,7 +28,7 @@ class SearchObjectsAPI(APIView):
```
"""

permission_classes = [IsAuthenticated]
permission_classes = [AllowAny]
auth = openapi.Parameter('test', openapi.IN_QUERY, description="test manual param", type=openapi.TYPE_BOOLEAN)

@swagger_auto_schema(
Expand Down

0 comments on commit 6bb6e37

Please sign in to comment.