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",
|
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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user