Home page sections: a site permission to rename, add and reorder sections and sort their poets #63
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/site-sections"
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?
Owner request: a special permission for moderators who manage the home page (featured poets, sections, order).
Who
site), with the action edit and scope all. A site grant for one poet or book gives no access.What (
/mod/site, the new سرورق tab in moderation)API
home_sections.GET /api/home(public): the sections with their poets; the home page reads this.GETandPOST /api/mod/site: the editor's data and the save.Tested
npm test: 38 pass. The new test covers:Local setup: apply
db/schema.sqlbefore running (import or dict-sync do this).🤖 Generated with Claude Code