MCPcopy Index your code
hub / github.com/bugy/script-server / is_same_user

Function is_same_user

src/auth/authorization.py:191–192  ·  view source on GitHub ↗
(user_id1, user_id2)

Source from the content-addressed store, hash-verified

189
190
191def is_same_user(user_id1, user_id2):
192 return _normalize_user(user_id1) == _normalize_user(user_id2)

Callers 2

_can_access_entryMethod · 0.90
_can_access_executionMethod · 0.90

Calls 1

_normalize_userFunction · 0.85

Tested by

no test coverage detected