Skip to content

Add component metadata#330

Merged
tylerhawkes merged 1 commit into
mainfrom
app-data-permissions
Apr 6, 2026
Merged

Add component metadata#330
tylerhawkes merged 1 commit into
mainfrom
app-data-permissions

Conversation

@tylerhawkes

@tylerhawkes tylerhawkes commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Add component metadata and permissions proto definitions for MLS message contents

Adds a new protobuf file component_permissions.proto to the xmtp.mls.message_contents package defining three new types:

  • ComponentType enum with six values covering bytes, TLS maps, and set types
  • ComponentPermissions message with per-operation MetadataPolicy fields for insert, update, and delete
  • ComponentMetadata message grouping a component's permissions and type

Macroscope summarized f0796a6.

@tylerhawkes
tylerhawkes requested a review from a team as a code owner April 6, 2026 22:15
@macroscopeapp

macroscopeapp Bot commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

This PR adds a new proto file with type definitions for component metadata (enum and two messages). The changes are purely additive schema definitions with no runtime impact until consumers are implemented. The author is the designated code owner of the new file.

You can customize Macroscope's approvability policy. Learn more.

@tylerhawkes
tylerhawkes merged commit 845ad62 into main Apr 6, 2026
8 checks passed
@tylerhawkes
tylerhawkes deleted the app-data-permissions branch April 6, 2026 22:22
@github-actions

github-actions Bot commented Apr 6, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 3.89.0 🎉

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

None yet

Development

Successfully merging this pull request may close these issues.

1 participant