open-webui/backend/open_webui/routers
google-labs-jules[bot] 41e4e7395c feat: add permission toggle for public sharing of notes
This commit introduces a new permission toggle that allows administrators to control whether users can publicly share their notes.

- Adds a new environment variable `USER_PERMISSIONS_NOTES_ALLOW_PUBLIC_SHARING` to control the default setting.
- Adds a `public_notes` permission to the `sharing` section of the user permissions.
- Adds a toggle switch to the admin panel for managing this permission.
- Implements backend logic to enforce the permission when a user attempts to share a note publicly.
2025-09-26 20:48:01 +00:00
..
audio.py refac/fix: WHISPER_LANGUAGE 2025-09-17 10:46:11 -05:00
auths.py refac 2025-09-08 18:17:11 +04:00
channels.py enh: channel model @ image support 2025-09-24 16:08:36 -05:00
chats.py refac/enh: include foldered chats in ref chat input menu 2025-09-24 11:27:19 -05:00
configs.py refac 2025-09-25 01:56:09 -05:00
evaluations.py ci fix 2025-07-21 22:17:08 +03:00
files.py refac 2025-09-17 11:28:04 -05:00
folders.py refac: folder delete logic 2025-09-24 09:04:54 -05:00
functions.py refac: valves 2025-09-24 09:21:53 -05:00
groups.py refac/enh: group add/remove users endpoints 2025-07-17 01:50:37 +04:00
images.py refac 2025-09-24 07:17:41 -05:00
knowledge.py refac/enh: knowledge ac backend validation 2025-09-09 18:08:31 +04:00
memories.py refac: memory handling 2025-07-20 15:00:24 +04:00
models.py feat: channel/thread @ model 2025-09-17 00:49:44 -05:00
notes.py feat: add permission toggle for public sharing of notes 2025-09-26 20:48:01 +00:00
ollama.py fix: prevent memory leaks in file handling and HTTP connections 2025-09-20 06:37:10 +09:00
openai.py fix: oauth token 2025-09-19 00:10:48 -05:00
pipelines.py refac 2025-05-15 12:58:44 +04:00
prompts.py refac: ENABLE_ADMIN_WORKSPACE_CONTENT_ACCESS renamed to BYPASS_ADMIN_ACCESS_CONTROL 2025-08-21 13:08:22 +04:00
retrieval.py feat/enh: perplexity search support 2025-09-25 14:02:46 -05:00
scim.py refac 2025-08-06 14:27:07 +04:00
tasks.py enh: query caching 2025-08-27 03:07:21 +04:00
tools.py refac 2025-09-25 01:59:18 -05:00
users.py feat: add permission toggle for public sharing of notes 2025-09-26 20:48:01 +00:00
utils.py refac/security: python code format endpoint 2025-06-08 20:26:07 +04:00