(self, app_allowed_users, admin_users, full_history_users, code_editor_users, groups_provider)
| 23 | |
| 24 | class 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) |
nothing calls this directly
no test coverage detected