From b43a11c9b003ab429497298417e970f65a989c77 Mon Sep 17 00:00:00 2001 From: David Young Date: Thu, 3 Dec 2026 18:53:06 -0700 Subject: [PATCH] Skill: other Core accounts sign in with the app's lowest role Co-Authored-By: Claude Opus 5.5 --- PLAN.md | 5 +++-- skills/coreapp/SKILL.md | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/PLAN.md b/PLAN.md index 7cbbf49..4cfd0e0 100644 --- a/PLAN.md +++ b/PLAN.md @@ -443,8 +443,9 @@ Steps: owner at startup, building differently shaped settings in the app's config loader, and checking mail (no inbox: logs, and the user) - - [ ] David: what ordinary Core accounts get in an app (run 2 let - any Core account join as a member who can view every module) + - Decided 2026-12-03 (David): ordinary Core accounts sign in + without an invitation and get the app's lowest role; admins + raise them in the app. In the skill - [ ] PostgreSQL 18 on the Core (Federated's), or a minimum version in coreapp.toml that the installer checks, so an app refuses to install on an older Core instead of failing later diff --git a/skills/coreapp/SKILL.md b/skills/coreapp/SKILL.md index b46dfa5..d424d89 100644 --- a/skills/coreapp/SKILL.md +++ b/skills/coreapp/SKILL.md @@ -215,6 +215,12 @@ may log; it should retry). (`coreapp new --sso`) shows the check in `oidc.py`. `coreapp signin` signs in as the test account, not the admin, so ask the user to sign in once as `admin@` in a browser and check it gets the admin pages. +- **Everyone else gets the lowest role.** Any other Core account (a person + at the company) may sign in, with no invitation, and gets the app's + lowest role (viewer, or whatever can do least). The app's admins raise + people from there in the app. Don't hand out more by default, and don't + require invitations for Core accounts. `coreapp signin` checks this: the + test account should land with that role. - Discovery: `$OIDC_ISSUER/.well-known/openid-configuration`. The Core routes `authelia.` from inside the app's container to the real HTTPS endpoint, with a valid certificate, so normal TLS verification works.