Skip to content

RFC: JIT account-access permission for ProductAccountId methods#15

Open
filvecchiato wants to merge 1 commit into
mainfrom
rfc/0012-account-access-permission
Open

RFC: JIT account-access permission for ProductAccountId methods#15
filvecchiato wants to merge 1 commit into
mainfrom
rfc/0012-account-access-permission

Conversation

@filvecchiato
Copy link
Copy Markdown
Collaborator

RFC: JIT Account-Access Permission for ProductAccountId Methods

Summary

Introduces a per-account just-in-time (JIT) permission check for all Host API methods that accept a ProductAccountId, preventing cross-product identity leakage by requiring explicit user approval before granting access.

Checklist

  • Added docs/rfcs/0012-account-access-permission.md with completed frontmatter
  • Filled all RFC sections (Summary, Motivation, Detailed Design, Drawbacks, Alternatives, Unresolved Questions)
  • Updated docs/rfcs/_index.md with a link to the new RFC
  • Added labels: rfc, proposal

Motivation

Any product can currently call Host API methods with an arbitrary ProductAccountId — including identifiers belonging to other products — without user awareness or consent. This RFC prevents cross-product identity leakage. Migrated from paritytech/triangle-js-sdks#136.

@filvecchiato filvecchiato changed the title RFC-0012: JIT account-access permission for ProductAccountId methods RFC: JIT account-access permission for ProductAccountId methods Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant