perf: oauth2 perm (#9620)

Co-authored-by: feng <1304903146@qq.com>
pull/9621/head
fit2bot 2 years ago committed by GitHub
parent fa8fdf71c1
commit bdb963750b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,6 +62,7 @@ class SettingsApi(generics.RetrieveUpdateAPIView):
'cas': 'settings.change_auth',
'sso': 'settings.change_auth',
'saml2': 'settings.change_auth',
'oauth2': 'settings.change_auth',
'clean': 'settings.change_clean',
'other': 'settings.change_other',
'sms': 'settings.change_sms',

Loading…
Cancel
Save