Alex Dunmow 945ca508e0 Judge site data table reads by the fields the spec declares (ADR 0007 amendment)
With data_tables in acceptance.json, a public route over a site data
table fails check 33 only when the table read holds a personal field by
the spec or the classifier. The table is resolved from a literal
GetTableByKey key; an unresolved read falls back to any declared table
being personal. Without data_tables every read stays personal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:48:11 +08:00

9 lines
575 B
JSON

{"version": 1, "name": "newsletter-9a0b11",
"spec": {
"blocks": [{"key": "subscribers", "source": "data_table:subscribers", "fields": []}],
"data_tables": [{"key": "events", "fields": [{"name": "title", "sample": "Open day", "personal": false}]},
{"key": "subscribers", "fields": [{"name": "email", "sample": "jo@example.com", "personal": false}, {"name": "joined", "sample": "2026-11-01", "personal": false}]}],
"routes": [{"method": "GET", "path": "/subscribers", "access": "public", "fields": []}],
"outbound_hosts": [], "settings": []
}}