[roads] Mark's decision: person and group grants leave classic devices out
Mark, 2026-11-25, "Leave classic out": a grant to a person or a group covers only their post-quantum devices. A classic router is reached only through a device: road of its own, which says classic: true. Before, a person grant covered their classic devices and so needed classic: true itself, and one classic device blocked every road of its owner (builder's self-review #5). New test a_person_grant_never_covers_their_classic_device, which fails with the old compiler. Docs and HANDOVER updated: 91 tests, debug and release.
This commit is contained in:
+3
-2
@@ -16,7 +16,7 @@ head named in the PR.
|
||||
|
||||
| Run | Result |
|
||||
|:--|:--|
|
||||
| `cargo test --workspace` | **90 passed, 0 failed, 0 ignored** (debug and `--release`) |
|
||||
| `cargo test --workspace` | **91 passed, 0 failed, 0 ignored** (debug and `--release`) |
|
||||
| `cargo clippy --workspace --all-targets -- -D warnings` | clean |
|
||||
| `cargo fmt --all --check` | clean |
|
||||
| `cargo deny check` | advisories ok, bans ok, licenses ok, sources ok |
|
||||
@@ -26,7 +26,7 @@ head named in the PR.
|
||||
|
||||
Per file: `proto/roundtrip` 6 · `roads` unit 16 · `attacks` 8 · `custom` 6 · `determinism` 4 · `explain` 6 ·
|
||||
`least_privilege` 6 (P-1 5,000 cases: 1,706 with rules, 4,420 rules and 7,784 allowed IPs checked against the
|
||||
oracle; P-6v6 1,000) · `qa_findings` 13 · `rename` 4 · `revocation` 9 · `validation` 5 (83 fixture files, 65
|
||||
oracle; P-6v6 1,000) · `qa_findings` 13 · `rename` 4 · `revocation` 10 · `validation` 5 (83 fixture files, 65
|
||||
rules) · `via-cli/cli` 7.
|
||||
|
||||
**What changed after QA** (details in `docs/02_via-core.md`, "QA review of PR #1"):
|
||||
@@ -45,6 +45,7 @@ rules) · `via-cli/cli` 7.
|
||||
| F-10 | P-6v6: IPv6 compiles like IPv4, by embedding into `fd00::/96` |
|
||||
| B-3 | `app:` roads need `on:` (person, group or device) and reach only those devices |
|
||||
| R-55 | QA's renaming property was flaky (a group renamed to `in`); fixed in the test, seed pinned |
|
||||
| Mark | "Leave classic out" (2026-11-25): person and group grants cover only post-quantum devices; a classic device needs its own `device:` road with `classic: true`. Test `revocation.rs::a_person_grant_never_covers_their_classic_device`, mutation-checked |
|
||||
|
||||
The plan format gained `services` and `direct[].except`. Format 1 has not been released, so it changed in
|
||||
place; the golden plans and the pinned CBOR digest were regenerated and the diff read by hand.
|
||||
|
||||
Reference in New Issue
Block a user