perf: history secret

pull/9008/head
feng 2022-10-31 17:37:54 +08:00
parent 8df15cb564
commit 094e144a51
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class AccountSecretsViewSet(RecordViewLogMixin, AccountViewSet):
serializer_classes = { serializer_classes = {
'default': serializers.AccountSecretSerializer 'default': serializers.AccountSecretSerializer
} }
http_method_names = ['get'] http_method_names = ['get', 'options']
# Todo: 记得打开 # Todo: 记得打开
# permission_classes = [RBACPermission, UserConfirmation.require(ConfirmType.MFA)] # permission_classes = [RBACPermission, UserConfirmation.require(ConfirmType.MFA)]
rbac_perms = { rbac_perms = {