dify/api/controllers/service_api/app
QuantumGhost 874406d934
security(api): fix privilege escalation vulnerability in model config and chat message APIs (#25518)
The `ChatMessageApi` (`POST /console/api/apps/{app_id}/chat-messages`) and 
`ModelConfigResource` (`POST /console/api/apps/{app_id}/model-config`) 
endpoints do not properly validate user permissions, allowing users without `editor` 
permission to access restricted functionality.

This PR addresses this issue by adding proper permission check.
2025-09-11 14:53:35 +08:00
..
__init__.py
annotation.py security(api): fix privilege escalation vulnerability in model config and chat message APIs (#25518) 2025-09-11 14:53:35 +08:00
app.py
audio.py chore: apply ty checks on api code with script and ci action (#24653) 2025-09-02 16:05:13 +08:00
completion.py
conversation.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00
error.py
file.py
file_preview.py [Chore/Refactor] Switch from MyPy to Basedpyright for type checking (#25047) 2025-09-03 11:52:26 +08:00
message.py
site.py
workflow.py