Merge pull request #21277 from open-webui/acl

refac: acl
This commit is contained in:
Tim Baek authored and GitHub committed 2026-02-09 13:34:36 -06:00
commit 48a0abb40f
57 files changed
+2994 -879

No files matched your search

+3 -2
View File
@@ -600,7 +600,8 @@
<ChannelModal
bind:show={showCreateChannel}
onSubmit={async ({ type, name, is_private, access_control, group_ids, user_ids }) => {
onSubmit={async (payload: any) => {
let { type, name, is_private, access_grants, group_ids, user_ids } = payload ?? {};
name = name?.trim();
if (type === 'dm') {
@@ -619,7 +620,7 @@
type: type,
name: name,
is_private: is_private,
access_control: access_control,
access_grants: access_grants,
group_ids: group_ids,
user_ids: user_ids
}).catch((error) => {