Skip to content

Commit 67e26fd

Browse files
committed
refac
1 parent 2c35bdb commit 67e26fd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

backend/open_webui/routers/tools.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
)
3131
from open_webui.utils.tools import get_tool_specs
3232
from open_webui.utils.auth import get_admin_user, get_verified_user
33-
from open_webui.utils.access_control import has_permission, filter_allowed_access_grants
33+
from open_webui.utils.access_control import (
34+
has_permission,
35+
has_access,
36+
filter_allowed_access_grants,
37+
)
3438
from open_webui.utils.tools import get_tool_servers
3539

3640
from open_webui.config import CACHE_DIR, BYPASS_ADMIN_ACCESS_CONTROL

0 commit comments

Comments
 (0)