mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac: rm print statement
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user