Skip to content

Document solver permission levels in admin-add-solver#40

Merged
grunch merged 1 commit intomainfrom
docs/admin-add-solver-permissions
Apr 16, 2026
Merged

Document solver permission levels in admin-add-solver#40
grunch merged 1 commit intomainfrom
docs/admin-add-solver-permissions

Conversation

@mostronatorcoder
Copy link
Copy Markdown
Contributor

Summary

Document the admin-add-solver protocol change introduced by MostroP2P/mostro#708.

text_message now supports optional solver permission suffixes:

  • npub1... -> default read-write
  • npub1...:read -> read
  • npub1...:read-write -> read-write
  • npub1...:write -> alias for read-write

Why

The Mostro implementation now distinguishes between:

  • read-only solvers, which can take disputes and communicate with users
  • read-write solvers, which can additionally execute admin-settle and admin-cancel

That changes the accepted payload format for admin-add-solver, so the protocol doc must reflect it.

Notes

No other wire-format changes were introduced in the Mostro PR. admin-settle and admin-cancel keep the same message shape; only authorization semantics changed there.

Related:

Copy link
Copy Markdown
Member

@grunch grunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@grunch grunch merged commit f90c8ae into main Apr 16, 2026
@grunch grunch deleted the docs/admin-add-solver-permissions branch April 16, 2026 15:22
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