mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
fix: permission change api should not wraps a permission decorator
This commit is contained in:
parent
739e15f88b
commit
f9e2c738b0
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user