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:
@@ -443,8 +443,9 @@ Steps:
|
|||||||
owner at startup, building differently shaped settings in the
|
owner at startup, building differently shaped settings in the
|
||||||
app's config loader, and checking mail (no inbox: logs, and the
|
app's config loader, and checking mail (no inbox: logs, and the
|
||||||
user)
|
user)
|
||||||
- [ ] David: what ordinary Core accounts get in an app (run 2 let
|
- Decided 2026-12-03 (David): ordinary Core accounts sign in
|
||||||
any Core account join as a member who can view every module)
|
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
|
- [ ] PostgreSQL 18 on the Core (Federated's), or a minimum version
|
||||||
in coreapp.toml that the installer checks, so an app refuses to
|
in coreapp.toml that the installer checks, so an app refuses to
|
||||||
install on an older Core instead of failing later
|
install on an older Core instead of failing later
|
||||||
|
|||||||
@@ -215,6 +215,12 @@ may log; it should retry).
|
|||||||
(`coreapp new --sso`) shows the check in `oidc.py`. `coreapp signin`
|
(`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
|
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.
|
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
|
- Discovery: `$OIDC_ISSUER/.well-known/openid-configuration`. The Core
|
||||||
routes `authelia.<domain>` from inside the app's container to the real
|
routes `authelia.<domain>` from inside the app's container to the real
|
||||||
HTTPS endpoint, with a valid certificate, so normal TLS verification works.
|
HTTPS endpoint, with a valid certificate, so normal TLS verification works.
|
||||||
|
|||||||
Reference in New Issue
Block a user