[roads] QA F-09: a present but empty until: or ports: is key.empty, never absent
Clearing a narrowing field (until:, until: # comment, ports:) used to read as absent, which is the widest value: a permanent grant or all traffic. It is now an error, so the road grants nothing. Three fixtures, FORMATS.md updated, and the F-09 test is no longer ignored.
This commit is contained in:
@@ -43,6 +43,9 @@ road a00041-second-exit.md exit.conflict object
|
||||
road a00042-direct-public.md direct.kill-switch object
|
||||
road a00043-custom-object.md key.forbidden object
|
||||
road a00044-tab.md yaml.refused -
|
||||
road a00045-empty-until.md key.empty until
|
||||
road a00046-until-comment.md key.empty until
|
||||
road a00047-empty-ports.md key.empty ports
|
||||
directory unknown-field.directory.json snapshot.json -
|
||||
directory format-two.directory.json snapshot.format format
|
||||
directory bad-person-id.directory.json directory.id people[3].id
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
id: a00045
|
||||
subject: person:jana
|
||||
verb: can-reach
|
||||
object: service:photos.home.arpa
|
||||
until:
|
||||
created: 2026-11-25T10:00:00+01:00
|
||||
---
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
id: a00046
|
||||
subject: person:jana
|
||||
verb: can-reach
|
||||
object: service:photos.home.arpa
|
||||
until: # Sunday
|
||||
created: 2026-11-25T10:00:00+01:00
|
||||
---
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
id: a00047
|
||||
subject: person:jana
|
||||
verb: can-reach
|
||||
object: service:photos.home.arpa
|
||||
ports:
|
||||
created: 2026-11-25T10:00:00+01:00
|
||||
---
|
||||
Reference in New Issue
Block a user