mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
enh: knowledge access control
This commit is contained in:
@@ -134,8 +134,8 @@ from open_webui.utils.utils import (
|
||||
get_current_user,
|
||||
get_http_authorization_cred,
|
||||
get_verified_user,
|
||||
has_access,
|
||||
)
|
||||
from open_webui.utils.access_control import has_access
|
||||
|
||||
if SAFE_MODE:
|
||||
print("SAFE MODE ENABLED")
|
||||
|
||||
Reference in New Issue
Block a user