enh: knowledge access control
This commit is contained in:
1 parent
8da24d81a4
commit
227cca35e8
23 files changed
+241
-149
No files matched your search
@@ -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