Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
only admin and owner can delete app (#810)
conghaoyuanc13a90ee6916
diff --git a/api/controllers/console/app/app.py b/api/controllers/console/app/app.pyindex d0bbbe8bf0d..cb7738e17ef 100644--- a/api/controllers/console/app/app.py+++ b/api/controllers/console/app/app.py@@ -294,6 +294,10 @@ class AppApi(Resource):def delete(self, app_id):"""Delete app"""app_id = str(app_id)++ if current_user.current_tenant.current_role not in ['admin', 'owner']:+ raise Forbidden()+app = _get_app(app_id, current_user.current_tenant_id)db.session.delete(app)