enh: knowledge access control

This commit is contained in:
Timothy Jaeryang Baek committed 2024-11-16 16:51:55 -08:00
1 parent 8da24d81a4
commit 227cca35e8
23 files changed
+241 -149

No files matched your search

+1 -1
View File
@@ -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")