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
feat: use default access mode when importing dsl (#21231)
Xiyuan Chen8f64327d5796
diff --git a/api/controllers/console/app/app_import.py b/api/controllers/console/app/app_import.pyindex 5dc6515ce0a..9ffb94e9f91 100644--- a/api/controllers/console/app/app_import.py+++ b/api/controllers/console/app/app_import.py@@ -17,6 +17,8 @@ from libs.login import login_requiredfrom models import Accountfrom models.model import Appfrom services.app_dsl_service import AppDslService, ImportStatus+from services.enterprise.enterprise_service import EnterpriseService+from services.feature_service import FeatureServiceclass AppImportApi(Resource):@@ -60,7 +62,9 @@ class AppImportApi(Resource):app_id=args.get("app_id"),)session.commit()-+ if result.app_id and FeatureService.get_system_features().webapp_auth.enabled:+ # update web app setting as private+ EnterpriseService.WebAppAuth.update_app_access_mode(result.app_id, "private")# Return appropriate status code based on resultstatus = result.statusif status == ImportStatus.FAILED.value: