Fix #563: unplayable radios for anonymous users

This commit is contained in:
Eliot Berriot 2019-05-02 10:01:02 +02:00
parent 1a639a8fde
commit 0be93ec05b
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
8 changed files with 42 additions and 16 deletions

View file

@ -536,11 +536,11 @@ REST_FRAMEWORK = {
),
"DEFAULT_AUTHENTICATION_CLASSES": (
"oauth2_provider.contrib.rest_framework.OAuth2Authentication",
"rest_framework.authentication.SessionAuthentication",
"funkwhale_api.common.authentication.JSONWebTokenAuthenticationQS",
"funkwhale_api.common.authentication.BearerTokenHeaderAuth",
"funkwhale_api.common.authentication.JSONWebTokenAuthentication",
"rest_framework.authentication.BasicAuthentication",
"rest_framework.authentication.SessionAuthentication",
),
"DEFAULT_PERMISSION_CLASSES": (
"funkwhale_api.users.oauth.permissions.ScopePermission",