mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac: rm print statement
This commit is contained in:
parent
c3aa09b95c
commit
060a2791ba
1 changed files with 0 additions and 1 deletions
|
|
@ -42,7 +42,6 @@ def has_access(
|
||||||
type: str = "write",
|
type: str = "write",
|
||||||
access_control: Optional[dict] = None,
|
access_control: Optional[dict] = None,
|
||||||
) -> bool:
|
) -> bool:
|
||||||
print("user_id", user_id, "type", type, "access_control", access_control)
|
|
||||||
if access_control is None:
|
if access_control is None:
|
||||||
return type == "read"
|
return type == "read"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue