open-webui/backend/open_webui/routers
Classic298 3cf3f8e189
fix: add missing folders field to SharingPermissions so the permission persists (#27296)
`sharing.folders` is present in `DEFAULT_USER_PERMISSIONS` but absent from the `SharingPermissions` response/update schema, so the admin default and group permission API silently drops it on every round-trip and the setting is never saved. Add `folders: bool = False`, matching the config default (`USER_PERMISSIONS_FOLDERS_ALLOW_SHARING`), restoring parity with `DEFAULT_USER_PERMISSIONS`.

Fixes #27120.
2026-07-23 03:24:51 -04:00
..
analytics.py refac 2026-06-29 01:38:41 -05:00
audio.py refac 2026-07-01 03:37:35 -05:00
auths.py refac 2026-06-29 21:31:49 -05:00
automations.py refac 2026-06-29 13:03:14 -05:00
calendar.py refac 2026-06-29 13:03:14 -05:00
channels.py refac 2026-07-16 01:34:50 -04:00
chats.py refac 2026-07-23 02:54:56 -04:00
configs.py refac 2026-07-14 00:10:28 -04:00
evaluations.py refac 2026-06-29 13:03:14 -05:00
files.py chore: format 2026-07-20 22:11:42 -04:00
folders.py refac 2026-07-21 13:53:30 -04:00
functions.py refac 2026-07-09 17:28:34 -05:00
groups.py refac 2026-06-29 05:47:21 -05:00
images.py refac 2026-06-29 13:03:14 -05:00
knowledge.py refac 2026-06-29 14:03:11 -05:00
memories.py refac 2026-06-29 13:03:14 -05:00
models.py refac 2026-07-17 06:34:17 -04:00
notes.py chore: format 2026-07-20 22:11:42 -04:00
notifications.py refac 2026-07-16 01:27:52 -04:00
ollama.py refac 2026-07-23 03:22:51 -04:00
openai.py refac 2026-07-15 02:53:39 -04:00
pipelines.py perf(backend): offload blocking calls in async paths to threads (#26381) 2026-06-29 10:42:26 -05:00
prompts.py refac 2026-06-29 13:03:14 -05:00
retrieval.py refac 2026-06-29 13:39:08 -05:00
scim.py refac 2026-06-25 03:31:45 +01:00
skills.py refac 2026-07-17 04:11:11 -04:00
tasks.py refac 2026-07-16 21:57:43 -04:00
terminals.py refac 2026-07-10 16:41:35 -05:00
tools.py refac 2026-07-09 17:28:34 -05:00
users.py fix: add missing folders field to SharingPermissions so the permission persists (#27296) 2026-07-23 03:24:51 -04:00
utils.py refac 2026-06-17 02:52:35 +02:00