Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/bugy/script-server
/ _normalize_user
Function
_normalize_user
src/auth/authorization.py:8–11 ·
view source on GitHub ↗
(user)
Source
from the content-addressed store, hash-verified
6
7
8
def
_normalize_user(user):
9
if
user:
10
return
user.lower().strip()
11
return
user
12
13
14
def
_normalize_users(allowed_users):
Callers
5
_normalize_users
Function · 0.85
_is_allowed_internal
Method · 0.85
__init__
Method · 0.85
get_groups
Method · 0.85
is_same_user
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected