fix: permission change api should not wraps a permission decorator

This commit is contained in:
Yeuoly 2024-10-29 17:16:32 +08:00
parent 739e15f88b
commit f9e2c738b0
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61

View File

@ -302,7 +302,6 @@ class PluginChangePermissionApi(Resource):
@setup_required
@login_required
@account_initialization_required
@plugin_permission_required(debug_required=True)
def post(self):
user = current_user
if not user.is_admin_or_owner: