Skill: other Core accounts sign in with the app's lowest role

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 18:53:06 -07:00
co-authored by Claude Opus 5.5
parent b178b6964e
commit b43a11c9b0
2 changed files with 9 additions and 2 deletions
+3 -2
View File
@@ -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
+6
View File
@@ -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@<domain>` 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.<domain>` from inside the app's container to the real
HTTPS endpoint, with a valid certificate, so normal TLS verification works.