open-webui/src/lib/components
G30 a3d33b4cf3
fix: hide chat delete actions when the chat delete permission is disabled (#27714)
The chat delete endpoints gate on chat.delete for non-admins, but none of
the UI affordances that reach them were conditioned on it, so a user
without the permission is offered controls that always fail with
"Access prohibited".

Gates every entry point on the same condition the backend enforces,
matching the existing chat.share / chat.export / chat.import gates in the
same components:

- Sidebar chat menu (ChatMenu) Delete item — also covers the Search
  modal's menu, which reuses ChatMenu
- Sidebar Shift+hover inline Delete button (ChatItem)
- Sidebar hidden #delete-chat-button keyboard-shortcut target (ChatItem)
- Chat navbar menu Delete item (Navbar/Menu)
- Search modal Shift-held inline Delete button (SearchModal)
- Settings -> Data Controls -> Delete All Chats
- Settings -> Archived Chats per-row Delete
2026-08-10 23:24:02 -06:00
..
admin refac 2026-08-10 22:57:21 -06:00
app refac 2026-07-27 19:24:03 -04:00
automations refac 2026-08-10 18:52:18 -06:00
calendar fix: use the local date for the event modal's default start and end (#27779) 2026-08-10 22:19:54 -06:00
channel refac 2026-08-10 18:52:18 -06:00
chat fix: hide chat delete actions when the chat delete permission is disabled (#27714) 2026-08-10 23:24:02 -06:00
common refac 2026-08-10 23:01:41 -06:00
icons refac 2026-07-20 01:33:47 -04:00
layout fix: hide chat delete actions when the chat delete permission is disabled (#27714) 2026-08-10 23:24:02 -06:00
notes refac 2026-08-10 18:52:18 -06:00
playground refac 2026-08-10 18:52:18 -06:00
workspace refac 2026-08-10 19:42:05 -06:00
AddConnectionModal.svelte fix: model ID whitelists accepting duplicate entries (#28251) 2026-08-10 19:27:12 -06:00
AddFilesPlaceholder.svelte refac 2026-07-14 04:15:20 -04:00
AddTerminalServerModal.svelte refac 2026-08-08 15:47:10 -06:00
AddToolServerModal.svelte refac 2026-07-27 19:39:36 -04:00
AutomationModal.svelte refac 2026-07-26 19:34:41 -04:00
ChangelogModal.svelte refac 2026-07-27 19:24:03 -04:00
ImportModal.svelte refac 2026-07-15 04:25:51 -04:00
NotificationToast.svelte refac 2026-08-10 18:52:18 -06:00
OnBoarding.svelte refac 2026-08-10 18:52:18 -06:00