Add event proposal/approval workflow #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Allow non-admin users to propose events that require admin approval before going live and being published to Nostr.
Scope
statusfield to Event model:proposed|approved|rejected(default:approvedfor admin-created events)POST /events/api/v1/events/propose— accepts invoice_key (not admin-only), creates event withstatus=proposedPUT /events/api/v1/events/{id}/approve— admin-only, setsstatus=approved, triggers NIP-52 publish (once implemented)PUT /events/api/v1/events/{id}/reject— admin-only, setsstatus=rejectedGET /events/api/v1/events/public— only returnsstatus=approvedeventsGET /events/api/v1/events/pending— admin-only, lists proposed events for reviewstatuscolumn with defaultapprovedfor backward compatibilityNotes
This is independent of the Nostr integration and can be implemented first. Once NIP-52 publishing is ready, the approval step triggers the Nostr publish.