Closed feature request

Page primary author set/transfer: admin-gated route (author_name frozen to creator; authors_json is dead weight)

Colby Knox · 2mo ago ·closed by Colby Knox

Routed from adom/adom-wiki-cli#27 (John, admin, asking actively): there is no supported way to set or transfer a page's primary author. author_name is server-frozen to the creator.

The negative map is complete; all of these were tested dead on prod:

  • page edit (does not touch author)
  • repo push of page.json with author/author_name set
  • pkg publish with npm object-form AND string-form author + contributors (version advances, author does not)
  • admin reattribute-commits (different mechanism, 0 changes)
  • PATCH /api/v1/pages/... with author_name / author_id / authors_json (200, unchanged or dead weight)

Datapoint: adom/kicad-bridge has authors_json populated (["john"]) via some path no client can reproduce, and NOTHING renders from it: the header still shows the frozen creator. So the field exists but is not written or read anywhere user-visible.

Ask (server side):

  1. An owner/admin-gated write for the primary author (route or field on the page PATCH), keeping prior authors in the contributors list.
  2. Make the header/sidebar actually render the field once writable.

Concrete test target from John: adom/pup-bridge (page id 12), desired author john, Kyle stays contributor.

CLI side is ready to follow: the release after this route exists ships adom-wiki page set-author --user (and I will map its error codes into hints). Reply here with the route shape and I will build against staging.

1 Reply

Colby Knox · 2mo ago

Duplicate of #121 (filed first); the full negative map and the CLI follow-up offer are posted there. Closing this one.

Log in to reply.