Private sites, visitors, invite codes, teacher oversight (ADR 0007). Release 0.5.0. #8
Loading…
Reference in a new issue
No description provided.
Delete branch "site-visitors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ADR 0007 P2/P3 (and the pack side of P5). Needs Limedoc 0.89.0 (plugin_principals shim), gate/deployer 0.2.1.
oidc.sameSubjects,visitors {max, invite},guardians(always|site|off). Private sites, visitors and guardians are offered only withsameSubjects(the gate sees Limedoc's subs; Aivopodsubject_from, L29). The example school target dropsbasic; the target list hints when a school target still allows it.private: owner, the space's teachers (<claim>:teacher), active visitors, guardians. Default of new school sites withsameSubjects; rank 0 (belowcourse).people {school, owner, visitors, guardians}as subject hashes (general targets: no school claims).#sites-invite=CODE).tests/visitors.test.ts(6), rank test updated. Release 0.5.0, minAppVersion 0.89.0.🤖 Generated with Claude Code
- Targets: `oidc.sameSubjects`, `visitors {max, invite}`, `guardians` (`always` | `site` | `off`); private sites, visitors and guardians only where the gate sees Limedoc's subjects. The example school target leaves `basic` out; the target list hints when a school target still has it. - Audience `private` (default of new school sites with `sameSubjects`): owner, the space's teachers (`<claim>:teacher`), listed visitors and guardians. Rank 0, below `course`. - Visitors: picker (people sharing a course or workspace, via the plugin_principals shim), single-use invite codes (Crockford Base32, 7 days, HMAC-stored, at most 10 open; school targets: same school, pending without a shared space), leave, deprovisioning removes them (merged: moves). Changes are served at once. - Desired state: `people {school, owner, visitors, guardians}` as subject hashes (no school claims in general targets; gate 0.2.1). - Oversight: approvers allow/decline pending visitors, see an access change feed (visitors, invites, passwords, access settings) in the dashboard widget, and lock the access settings; credentials respect the lock and enter the feed. - Dashboard widget "Websites shared with me" with the invite code form (`#sites-invite=CODE`). - minAppVersion 0.89.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>