File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 244244 "DEFAULT_AUTHENTICATION_CLASSES" : (
245245 "rest_framework.authentication.TokenAuthentication" ,
246246 ),
247- "DEFAULT_PERMISSION_CLASSES" : ("rest_framework.permissions.IsAuthenticated " ,),
247+ "DEFAULT_PERMISSION_CLASSES" : ("rest_framework.permissions.AllowAny " ,),
248248 "DEFAULT_RENDERER_CLASSES" : (
249249 "rest_framework.renderers.JSONRenderer" ,
250250 "rest_framework.renderers.BrowsableAPIRenderer" ,
Original file line number Diff line number Diff line change 3939 LOGGING ["loggers" ]["scanner.tasks" ]["handlers" ] = None
4040 # Do not pollute the workspace during testing
4141 SCANCODEIO_WORKSPACE_LOCATION = tempfile .mkdtemp ()
42- else :
43- # No API Key needed in dev mode.
44- REST_FRAMEWORK ["DEFAULT_PERMISSION_CLASSES" ] = (
45- "rest_framework.permissions.AllowAny" ,
46- )
You can’t perform that action at this time.
0 commit comments