fix(relay): publish owner roles on open relays#1874
Open
tlongwell-block wants to merge 1 commit into
Open
Conversation
Co-authored-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co> Signed-off-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co>
wesbillman
approved these changes
Jul 14, 2026
wesbillman
left a comment
Collaborator
There was a problem hiding this comment.
This fixes the missing admin-controls path for open relays with configured stable relay and owner keys. The desktop gates relay administration on the current identity appearing as owner/admin in kind 13534; open relays currently seed that DB role but do not publish the snapshot. Publishing it at startup and after provisioning/ownership transfer restores capability discovery without enabling admission enforcement or advertising NIP-43. The config predicate is the right distinction because relay-signed metadata requires a stable key. Approving; merge after CI is green.
wesbillman
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This does not enable membership enforcement or advertise NIP-43 support on open relays; it only publishes the existing signed role metadata used for capability discovery.
Validation
bin/cargo fmt --checkbin/cargo check -p buzz-relaydemo_join_forwarded_arm_round_trips_echo, expected 200 got 504)