ZDDC/zddc/internal/fs
ZDDC cc7f34e922 fix(listing): synthetic table.yaml/form.yaml verbs reflect actual authority
The synthetic spec entries injected into rollup virtual surfaces
(/<project>/{ssr,mdl,rsk}/) had Verbs hardcoded to "r" — so even
an elevated root admin saw the spec files as read-only in the
YAML editor's verbs check (cap.has(node, 'a') returned false →
saveBtn disabled + the red read-only banner).

The hardcode was a Part 2 oversight; every other synthetic listing
entry already computes verbs via EffectiveVerbsFromChainP against
the entry's path. Now table.yaml and form.yaml do the same — elevated
admins get "rwcda" and can PUT a custom spec to override the embedded
default at the rollup view; everyone else still gets "r" via the
project-level project_team:r grant cascading through.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 13:23:12 -05:00
..
resolve.go feat(server): case-insensitive URL canonicalization at dispatch 2026-05-09 09:09:47 -05:00
resolve_test.go feat(server): case-insensitive URL canonicalization at dispatch 2026-05-09 09:09:47 -05:00
tree.go fix(listing): synthetic table.yaml/form.yaml verbs reflect actual authority 2026-05-21 13:23:12 -05:00
tree_test.go feat(listing): per-entry verbs string for client-side capability gating 2026-05-21 08:14:25 -05:00