Files
smirk-backend-core/openapi.json
jwinterm ae118edf86 premium: publish the relay posting decision, not its inputs
GET /premium/status gains write_allowlisted + can_post_general.

The wallet was re-deriving posting rights from write_policy + premium, which
cannot see RELAY_WRITE_ALLOWLIST_NPUBS. An allowlisted operator was shown
"posting needs a premium subscription" with the composer hidden, while the
relay's own admission check would have accepted the event. Compute the answer
server-side from the same RelayProvider the admission service consults so the
two cannot drift.
2026-07-31 17:17:58 -04:00

163 KiB