mirror of
https://github.com/open-webui/open-webui
synced 2024-11-21 23:57:51 +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",
|
||||
access_control: Optional[dict] = None,
|
||||
) -> bool:
|
||||
print("user_id", user_id, "type", type, "access_control", access_control)
|
||||
if access_control is None:
|
||||
return type == "read"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user