Skip to content

armgit / dify

Public Imported from GitHub
0

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.

docs(api): mark SystemFeatureApi as unauthenticated by design (#31417)

QuantumGhost61f8647f374e
diff --git a/api/controllers/console/feature.py b/api/controllers/console/feature.py
index 6951c906e9b..d171c189ead 100644
--- a/api/controllers/console/feature.py
+++ b/api/controllers/console/feature.py
@@ -39,5 +39,13 @@ class SystemFeatureApi(Resource):
),
)
def get(self):
- """Get system-wide feature configuration"""
+ """Get system-wide feature configuration
+
+ NOTE: This endpoint is unauthenticated by design, as it provides system features
+ data required for dashboard initialization.
+
+ Authentication would create circular dependency (can't login without dashboard loading).
+
+ Only non-sensitive configuration data should be returned by this endpoint.
+ """
return FeatureService.get_system_features().model_dump()