Add profile OAuth scope

This commit is contained in:
Raphael Michel
2020-09-28 16:11:43 +02:00
parent 1f3d4a2810
commit b73db911e9

View File

@@ -718,6 +718,7 @@ OAUTH2_PROVIDER_ACCESS_TOKEN_MODEL = 'pretixapi.OAuthAccessToken'
OAUTH2_PROVIDER_REFRESH_TOKEN_MODEL = 'pretixapi.OAuthRefreshToken'
OAUTH2_PROVIDER = {
'SCOPES': {
'profile': _('User profile only'),
'read': _('Read access'),
'write': _('Write access'),
},