mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55: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
|
// pages: [], // TODO: Implement pages for notes to allow users to create multiple pages in a note
|
||||||
meta: null,
|
meta: null,
|
||||||
access_control: null
|
access_control: {}
|
||||||
};
|
};
|
||||||
|
|
||||||
let files = [];
|
let files = [];
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
meta: null,
|
meta: null,
|
||||||
access_control: null
|
access_control: {}
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
toast.error(`${error}`);
|
toast.error(`${error}`);
|
||||||
return null;
|
return null;
|
||||||
|
|
@ -198,7 +198,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
meta: null,
|
meta: null,
|
||||||
access_control: null
|
access_control: {}
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
toast.error(`${error}`);
|
toast.error(`${error}`);
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue