Skip to content

chore: make overrideAccess explicit in examples - #17865

Merged
nathanlentz merged 4 commits into
override-access/packagesfrom
override-access/examples
Sep 23, 2026
Merged

nathanlentz merged 4 commits into
override-access/packagesfrom
override-access/examples

Conversation

@nathanlentz

@nathanlentz nathanlentz commented Aug 20, 2026 •

Copy link
Copy Markdown
Collaborator

Adds an explicit overrideAccess: true to every Local API call in examples/ that
previously relied on the default.

This is preparation for flipping the Local API default to false, which lands later
in this stack. It is split out so that the breaking change itself stays small enough
to read.

This changes no behaviour

The Local API currently defaults overrideAccess to true. Writing the value explicitly
produces exactly what the default already produced.

Example Files
localization 9
multi-tenant 5
live-preview 3
remix, form-builder, draft-preview, auth, astro 2 each
custom-components 1

Verification

Examples are standalone projects with no dependencies installed, so they cannot be
typechecked.

@nathanlentz
nathanlentz marked this pull request as ready for review August 20, 2026 13:31
@nathanlentz
nathanlentz force-pushed the override-access/examples branch from 256d48e to 7a88fbe Compare August 20, 2026 13:31
@nathanlentz
nathanlentz force-pushed the override-access/examples branch from 7a88fbe to 36b1352 Compare August 20, 2026 15:31
@nathanlentz
nathanlentz force-pushed the override-access/examples branch from 36b1352 to 35a3965 Compare August 20, 2026 16:42
@nathanlentz
nathanlentz force-pushed the override-access/examples branch from 35a3965 to 662fadc Compare August 21, 2026 17:34
@nathanlentz
nathanlentz force-pushed the override-access/examples branch from 662fadc to 1c18edd Compare September 8, 2026 14:07
Base automatically changed from override-access/templates to override-access/packages September 23, 2026 20:05
@nathanlentz
nathanlentz merged commit eff4c07 into main Sep 23, 2026
19 of 21 checks passed
@nathanlentz
nathanlentz deleted the override-access/examples branch September 23, 2026 20:05
nathanlentz added a commit that referenced this pull request Sep 23, 2026
## Summary

Make `overrideAccess: true` explicit in Local API calls across
first-party packages, plugins, templates, and examples. These calls
currently rely on a default of `true`, so their behavior stays the same.
This prepares them for the default change in #17869.

## Scope

Calls that intentionally exercise the default remain unchanged. Template
calls keep their current access behavior; changes to template access
decisions need separate review. The test call sites were addressed in
#17859, which is already merged.

This PR combines #17862, #17864, and #17865 into #17861.

## Validation

The branches merged without conflicts. `git diff --check` passes for the
combined change. CI will validate the consolidated branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant