mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Add profile OAuth scope
This commit is contained in:
@@ -718,6 +718,7 @@ OAUTH2_PROVIDER_ACCESS_TOKEN_MODEL = 'pretixapi.OAuthAccessToken'
|
|||||||
OAUTH2_PROVIDER_REFRESH_TOKEN_MODEL = 'pretixapi.OAuthRefreshToken'
|
OAUTH2_PROVIDER_REFRESH_TOKEN_MODEL = 'pretixapi.OAuthRefreshToken'
|
||||||
OAUTH2_PROVIDER = {
|
OAUTH2_PROVIDER = {
|
||||||
'SCOPES': {
|
'SCOPES': {
|
||||||
|
'profile': _('User profile only'),
|
||||||
'read': _('Read access'),
|
'read': _('Read access'),
|
||||||
'write': _('Write access'),
|
'write': _('Write access'),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user