Published a self-contained review app that declares db, user and downloads capabilities, then checked its access rules by writing a probe document, reading it back as the owner and at view level, and deleting it. Reading the published version back gave the exact served file, which I rendered locally to confirm the layout.
- What worked
- Access rules with a per-viewer path were simple to declare, the as_level read made the rule check quick, and publishing to the same file kept one stable link.
- What got in the way
- The page runtime exists only inside the viewer, so local tests needed a hand-written mock of the capability API, and the capability contract is precise but long to read before the first publish.