dify/api/controllers/console/workspace
Harry f60e28d2f5 feat(trigger): enhance user role validation and add request logs API for trigger providers
- Updated user role validation in PluginTriggerApi and WebhookTriggerApi to assert current_user as an Account and check tenant ID.
- Introduced TriggerSubscriptionBuilderRequestLogsApi to retrieve request logs for subscription instances, ensuring proper user authentication and error handling.
- Added new API endpoint for accessing request logs related to trigger providers.

🤖 Generated with [Claude Code](https://claude.ai/code)
2025-09-04 14:44:02 +08:00
..
__init__.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
account.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
agent_providers.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
endpoint.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
error.py fix: drop dead code phase2 unused class (#22042) 2025-07-17 09:33:07 +08:00
load_balancing_config.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
members.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
model_providers.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
models.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
plugin.py fix(dynamic_select): implement function 2025-09-03 14:53:27 +08:00
tool_providers.py feat(trigger): add trigger provider management and webhook handling functionality 2025-09-03 14:53:26 +08:00
trigger_providers.py feat(trigger): enhance user role validation and add request logs API for trigger providers 2025-09-04 14:44:02 +08:00
workspace.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00