interloper-api 0.30.1__tar.gz → 0.31.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {interloper_api-0.30.1 → interloper_api-0.31.0}/PKG-INFO +1 -1
- {interloper_api-0.30.1 → interloper_api-0.31.0}/pyproject.toml +1 -1
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/auth.py +5 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/README.md +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/__init__.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/app.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/dependencies.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/email.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/__init__.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/admin.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/agent.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/assets.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/backfills.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/catalog.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/destinations.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/external/__init__.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/external/resolve.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/jobs.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/oauth.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/organisations.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/resources.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/runs.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/sources.py +0 -0
- {interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/ws.py +0 -0
|
@@ -131,6 +131,11 @@ def google_callback(
|
|
|
131
131
|
avatar_url=avatar_url,
|
|
132
132
|
)
|
|
133
133
|
|
|
134
|
+
# Bootstrap super-admins from settings. Promote-only: removing an email from
|
|
135
|
+
# the list never demotes an existing super-admin.
|
|
136
|
+
if not profile.is_super_admin and email.lower() in auth_config.super_admin_emails:
|
|
137
|
+
profile = store.set_super_admin(profile.id) or profile
|
|
138
|
+
|
|
134
139
|
# Create session (no org context — frontend resolves org after login)
|
|
135
140
|
token = store.create_session(user_id=profile.id)
|
|
136
141
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/external/__init__.py
RENAMED
|
File without changes
|
{interloper_api-0.30.1 → interloper_api-0.31.0}/src/interloper_api/routes/external/resolve.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|