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

Method __init__

src/auth/authorization.py:25–31  ·  view source on GitHub ↗
(self, app_allowed_users, admin_users, full_history_users, code_editor_users, groups_provider)

Source from the content-addressed store, hash-verified

23
24class Authorizer:
25 def __init__(self, app_allowed_users, admin_users, full_history_users, code_editor_users, groups_provider):
26 self._app_allowed_users = _normalize_users(app_allowed_users)
27 self._admin_users = _normalize_users(admin_users)
28 self._full_history_users = _normalize_users(full_history_users)
29 self._code_editor_users = _normalize_users(code_editor_users)
30
31 self._groups_provider = groups_provider
32
33 def is_allowed_in_app(self, user_id):
34 return self._is_allowed_internal(user_id, self._app_allowed_users)

Callers

nothing calls this directly

Calls 1

_normalize_usersFunction · 0.85

Tested by

no test coverage detected