mirror of
https://github.com/langgenius/dify.git
synced 2026-03-14 22:02:15 +08:00
- Add ALLOWED_ACCESS_MODES constant to centralize valid access modes - Include 'sso_verified' in validation to fix app duplication errors - Update error message to dynamically list all allowed modes - Refactor for maintainability: single source of truth for access modes This fixes the issue where apps with access_mode='sso_verified' could not be duplicated because the validation in update_app_access_mode() was missing this mode, even though it was documented in WebAppSettings model. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| account_deletion_sync.py | ||
| base.py | ||
| enterprise_service.py | ||
| plugin_manager_service.py | ||
| workspace_sync.py | ||