mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix/security: note access control
Co-Authored-By: python4004 <36403473+python4004@users.noreply.github.com>
This commit is contained in:
parent
c42a6d8029
commit
793648bbd6
2 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@
|
|||
},
|
||||
// pages: [], // TODO: Implement pages for notes to allow users to create multiple pages in a note
|
||||
meta: null,
|
||||
access_control: null
|
||||
access_control: {}
|
||||
};
|
||||
|
||||
let files = [];
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
}
|
||||
},
|
||||
meta: null,
|
||||
access_control: null
|
||||
access_control: {}
|
||||
}).catch((error) => {
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
|
|
@ -198,7 +198,7 @@
|
|||
}
|
||||
},
|
||||
meta: null,
|
||||
access_control: null
|
||||
access_control: {}
|
||||
}).catch((error) => {
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue