mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
refac: rm print statement
This commit is contained in:
parent
c3aa09b95c
commit
060a2791ba
@ -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 New Issue
Block a user