mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-07 08:27:05 +00:00
chore: format
This commit is contained in:
parent
80ad5fd2d0
commit
0c2e4270bc
1 changed files with 1 additions and 1 deletions
|
|
@ -2507,7 +2507,7 @@ def _validate_collection_access(collection_names: list[str], user) -> None:
|
|||
detail=ERROR_MESSAGES.ACCESS_PROHIBITED,
|
||||
)
|
||||
elif name.startswith("file-"):
|
||||
file_id = name[len("file-"):]
|
||||
file_id = name[len("file-") :]
|
||||
if not has_access_to_file(
|
||||
file_id=file_id,
|
||||
access_type="read",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue