Files
open-webui/backend/open_webui/routers
G30 80d2f4154a fix: align public_tools and public_notes sharing defaults with config (#27716)
The SharingPermissions model defaulted public_tools and public_notes to
True while the config defaults (USER_PERMISSIONS_WORKSPACE_TOOLS_ALLOW_PUBLIC_SHARING
and USER_PERMISSIONS_NOTES_ALLOW_PUBLIC_SHARING) are both False.

On an instance whose stored user.permissions config predates these keys,
GET /api/v1/users/default/permissions fills the gap from the model and
reports both as enabled, while has_permission fills it from
DEFAULT_USER_PERMISSIONS and denies. Saving any unrelated permission then
persists the model's True, granting public tool and note sharing the admin
never enabled.
2026-08-10 23:24:18 -06:00
..
2026-06-29 01:38:41 -05:00
2026-08-10 23:13:10 -06:00
2026-07-26 19:34:41 -04:00
2026-06-29 13:03:14 -05:00
2026-08-10 20:00:43 -06:00
2026-07-24 02:36:10 -04:00
2026-07-27 04:38:46 -04:00
2026-07-26 19:10:41 -04:00
2026-06-29 05:47:21 -05:00
2026-08-10 22:53:37 -06:00
2026-07-27 01:59:17 -04:00
2026-07-27 19:39:36 -04:00
2026-06-29 13:03:14 -05:00
2026-08-10 22:53:37 -06:00
2026-08-10 23:13:10 -06:00
2026-07-17 04:11:11 -04:00
2026-08-09 13:22:46 -06:00
2026-06-17 02:52:35 +02:00