mirror of
https://github.com/Such-Software/smirk-backend-core.git
synced 2026-10-17 15:31:38 +02:00
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.
163 KiB
163 KiB