Skip to content

Docs: Document the _access REST-only enforcement boundary (refs #109)#114

Merged
taylortom merged 1 commit into
masterfrom
docs/access-enforcement-boundary
Jul 9, 2026
Merged

Docs: Document the _access REST-only enforcement boundary (refs #109)#114
taylortom merged 1 commit into
masterfrom
docs/access-enforcement-boundary

Conversation

@taylortom

Copy link
Copy Markdown
Collaborator

Refs #109

Docs

  • Document the _access enforcement boundary in writing-an-api.md, alongside the access-hook docs: _access is enforced only on the REST request layer (accessCheckHook/accessQueryHook are request-scoped). Preview/publish/export and server-side/programmatic find() bypass it by design (no req.auth outside a REST request; internal paths use coarse build scopes).
  • Records why this is adequate today (single-client-per-instance → _access is sharing, not a security boundary) and when to revisit (multi-tenant isolation → thread an identity context into the code API).

Notes

@taylortom
taylortom merged commit f853ea9 into master Jul 9, 2026
3 checks passed
@taylortom
taylortom deleted the docs/access-enforcement-boundary branch July 9, 2026 21:20
github-actions Bot pushed a commit that referenced this pull request Jul 14, 2026
## [4.1.1](v4.1.0...v4.1.1) (2026-07-14)

### Chore

* replace legacy new.yml with direct add-to-project workflow ([a061f6d](a061f6d))

### Docs

* Document the _access REST-only enforcement boundary (refs #109) (#114) ([f853ea9](f853ea9)), closes [#109](#109) [#114](#114)

### Fix

* Check write access against the target document (fixes #115) (#116) ([9c4c139](9c4c139)), closes [#115](#115) [#116](#116)
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 4.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant