Skip to content

feat(platform): auto-grant remote permissions to trusted product labels - #446

Merged
filvecchiato merged 6 commits into
mainfrom
feat/auto-grant-remote-permissions
Aug 26, 2026
Merged

feat(platform): auto-grant remote permissions to trusted product labels#446
filvecchiato merged 6 commits into
mainfrom
feat/auto-grant-remote-permissions

Conversation

@filvecchiato

Copy link
Copy Markdown
Collaborator

Stacked on #434.

  • REMOTE_PERMISSION_TRUSTED_LABELS (peopl, dim2, stash) holds every RemotePermission without a prompt; nothing is persisted, and a stored Denied still revokes it.
  • Device permissions, identity disclosure and account access are unaffected.
  • PRODUCT_ID_TLDS adds test for product ids only. The dotNS navigation list stays dot/paseo, so a .test host remains external and keeps consuming a domain grant.

Product-id TLDs split from the narrower dotNS navigation list so .test is a product scope without bypassing the outbound domain grant.
Base automatically changed from feat/gate-external-navigation to main August 19, 2026 12:50
Comment thread docs/rfcs/0002-permission-model.md
Resolves the `.test` TLD question in main's favour. #465 widened DOTNS_TLDS to
cover `test` and asserts that a `.test` name classifies as dotNS navigation, so
the DOTNS_TLDS/PRODUCT_ID_TLDS split this branch introduced is gone along with
its superset test and the two navigate cases that expected `.test` to stay
external. Product-id validation and the trusted-label lookup read DOTNS_TLDS.

Domain-bundle resolution keeps main's shape — BundleResolution, the
set-shaped key for a multi-domain denial — with the trusted-label auto-grant
layered in: resolve_domains consults effective_domain_status, so a trusted
product resolves as authorized and never reaches the prompt, while a stored
decision still wins.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@filvecchiato
filvecchiato requested review from a team August 25, 2026 09:35
@filvecchiato filvecchiato linked an issue Aug 25, 2026 that may be closed by this pull request
8 tasks
@filvecchiato
filvecchiato enabled auto-merge August 26, 2026 14:34
@filvecchiato
filvecchiato removed the request for review from a team August 26, 2026 14:35
@filvecchiato
filvecchiato added this pull request to the merge queue Aug 26, 2026
Merged via the queue into main with commit d1ec435 Aug 26, 2026
18 checks passed
@filvecchiato
filvecchiato deleted the feat/auto-grant-remote-permissions branch August 26, 2026 14:47
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.

RFC: Scoped grants in trustedProducts

2 participants