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 244
244
"DEFAULT_AUTHENTICATION_CLASSES" : (
245
245
"rest_framework.authentication.TokenAuthentication" ,
246
246
),
247
- "DEFAULT_PERMISSION_CLASSES" : ("rest_framework.permissions.IsAuthenticated " ,),
247
+ "DEFAULT_PERMISSION_CLASSES" : ("rest_framework.permissions.AllowAny " ,),
248
248
"DEFAULT_RENDERER_CLASSES" : (
249
249
"rest_framework.renderers.JSONRenderer" ,
250
250
"rest_framework.renderers.BrowsableAPIRenderer" ,
Original file line number Diff line number Diff line change 39
39
LOGGING ["loggers" ]["scanner.tasks" ]["handlers" ] = None
40
40
# Do not pollute the workspace during testing
41
41
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