chore: remove enterprise check

This commit is contained in:
fatelei 2026-05-08 18:01:36 +08:00
parent 1eb6446f5d
commit 7442e91ba7
No known key found for this signature in database
GPG Key ID: 2F91DA05646F4EED

View File

@ -156,8 +156,6 @@ class EnterpriseRequest(BaseRequest):
both the assertions and the header wiring so callers only have to
supply business payload.
"""
if not dify_config.ENTERPRISE_ENABLED:
raise EnterpriseAPIError("Enterprise edition is not enabled")
if not tenant_id:
raise ValueError("tenant_id must be provided for inner RBAC requests")