Owner, visitor and guardian rules; /family; no site in login log. Release 0.2.0. #4

Merged
oliver.maklott merged 2 commits from site-people into main 2026-11-24 22:38:36 +01:00

Owner, visitor and guardian rules from ADR 0007 (limedoc docs/adr/0007-site-visitors-and-guardians.md).

  • access.json format 2: {host: {audience, people?}}; format 1 still read. Audience private (the space's teacher claims).
  • /verify admits by audience claim, as owner, as a listed visitor who still holds the school claim, or as a guardian of the owner (aivopod_guardian_of). Membership is read from access.json per request, so a removed visitor is out at the next deploy.
  • Guardians: shorter sessions (guardianSessionHours, default 2), cookie field g with only the owner's hash, GET /family on auth.<domain> lists the children's live sites.
  • The login log line no longer names the host.
  • Test harness moved to tests/harness.ts; new tests/people.test.ts.

Works only once Aivopod gives the gate Limedoc's subjects (subject_from, amendment L29); until then the pack offers nothing of this.

🤖 Generated with Claude Code

Owner, visitor and guardian rules from ADR 0007 (limedoc `docs/adr/0007-site-visitors-and-guardians.md`). - `access.json` format 2: `{host: {audience, people?}}`; format 1 still read. Audience `private` (the space's teacher claims). - `/verify` admits by audience claim, as owner, as a listed visitor who still holds the school claim, or as a guardian of the owner (`aivopod_guardian_of`). Membership is read from `access.json` per request, so a removed visitor is out at the next deploy. - Guardians: shorter sessions (`guardianSessionHours`, default 2), cookie field `g` with only the owner's hash, `GET /family` on `auth.<domain>` lists the children's live sites. - The `login` log line no longer names the host. - Test harness moved to `tests/harness.ts`; new `tests/people.test.ts`. Works only once Aivopod gives the gate Limedoc's subjects (`subject_from`, amendment L29); until then the pack offers nothing of this. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
README: no private sites before subject_from
All checks were successful
Test / test (pull_request) Successful in 8s
d706dfcd23
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
limedoc/limedoc-sites-gate!4
No description provided.