docs(wiki): note log:read perm + entry presence/cooldown guard in reference pages
Sync the two canonical reference pages with this session's features: local-jwt-auth gains the new log resource / log:read permission in the RBAC grid (links app-logs); first-run-setup notes the one-car-one-ticket presence-loop/cooldown guard the admin configures on a relay (links entry-double-press). Claude-Session: https://claude.ai/code/session_01Xcm6ikLgGoCxxHrxtjkk5V
This commit is contained in:
@@ -37,6 +37,9 @@ Authentication and authorization, kept **fully local** — a direct consequence
|
||||
**last user holding admin** — administration can never be locked out of the appliance.
|
||||
- `event:void` is a permission, NOT a ledger delete: the append-only signed chain is untouched; the
|
||||
permission only gates who may APPEND a void event (there is no void API route yet — forward seam).
|
||||
- The grid is **extensible** — adding a feature adds its `resource:action` rows. Latest: **`log:read`**
|
||||
(a new `log` resource) gates the diagnostic-log viewer (`GET /api/logs`); admin holds it, and it's
|
||||
grantable to a diagnostic role. See [[app-logs]].
|
||||
- **No privilege escalation through the RBAC system itself.** `role:create`/`role:update` and
|
||||
`user:create`/`user:update` are themselves grantable, so a non-admin could otherwise self-escalate.
|
||||
Guards (`routes/roles.ts`, `routes/users.ts`): a caller may only put permissions on a role that
|
||||
|
||||
Reference in New Issue
Block a user