perf: oauth2 perm (#9620)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-02-18 17:55:11 +08:00
committed by GitHub
parent fa8fdf71c1
commit bdb963750b

View File

@@ -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',