mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-28 22:06:31 +00:00
fix(web-app-baserow): block the administrator persona when SSO is disabled
Baserow's admin is SSO-gated; with SSO off there is no provisioned native frontend admin (first run forces /signup), so the persona can never authenticate and the no-SSO variant timed out. Gate PERSONA_ADMINISTRATOR_BLOCKED on services.sso.enabled, mirroring the biber gate. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
122f7e43d0
commit
7151a0d7df
1 file changed
+2
-1
@@ -27,7 +27,8 @@ NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||
OIDC_ISSUER_URL={{ OIDC.CLIENT.ISSUER_URL | dotenv_quote }}
|
||||
|
||||
|
||||
PERSONA_ADMINISTRATOR_BLOCKED=false
|
||||
# Baserow admin is SSO-gated; with SSO off there is no native frontend admin (first run forces /signup), so block the persona.
|
||||
PERSONA_ADMINISTRATOR_BLOCKED={{ 'false' if (lookup('config', application_id, 'services.sso.enabled') | bool) else 'true' }}
|
||||
# Baserow is admin-RBAC gated here; non-admin persona access stops at oauth2-proxy.
|
||||
PERSONA_BIBER_BLOCKED=true
|
||||
|
||||
|
||||
Reference in new issue
Block a user