fix: require edit permission for draft workflow feature updates

This commit is contained in:
hjlarry 2026-04-12 18:43:43 +08:00
parent 5e8eeb92d9
commit effe12cbee

View File

@ -957,6 +957,7 @@ class WorkflowFeaturesApi(Resource):
@login_required
@account_initialization_required
@get_app_model(mode=[AppMode.ADVANCED_CHAT, AppMode.WORKFLOW])
@edit_permission_required
def post(self, app_model: App):
current_user, _ = current_account_with_tenant()