etherpad-lite/doc/api
John McLear fba4a17fcc
fix(API): hide SYSTEM_AUTHOR_ID from listAuthorsOfPad (#7793)
* fix(API): exclude SYSTEM_AUTHOR_ID from listAuthorsOfPad

Pad.SYSTEM_AUTHOR_ID ('a.etherpad-system') is the synthetic author
Etherpad attributes inserts to when the HTTP API receives a call
without authorId (setText, setHTML, appendText, the server-side
import flows, and plugins like ep_post_data). It exists so the
changeset's text and attribs stay in sync — without ANY author
attribute, pad.atext drifts and clients fail setDocAText
reconciliation when loading the pad. See Pad.ts:96-105 for the
full rationale.

That bookkeeping detail was leaking through listAuthorsOfPad: a
pad whose only "contributor" is the system author still reported
one authorID, which the existing tests in pad.ts and
appendTextAuthor.ts (and presumably any caller that uses
listAuthorsOfPad to count real users) treat as a real participant.

Filter SYSTEM_AUTHOR_ID at the API surface so internal attribution
stays internal. getAllAuthors() and downstream callers (copy,
anonymize, atext verification) keep seeing the synthetic id —
this only narrows the public listAuthorsOfPad response.

Fixes #7785
Fixes #7790

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(api): note that listAuthorsOfPad omits the system author

Match the runtime behaviour from the previous commit — the
synthetic 'a.etherpad-system' author used for unattributed inserts
is filtered out of the listAuthorsOfPad response.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 13:19:58 +01:00
..
api.adoc Added docs as asciidoctor with cross platform support. (#5733) 2023-06-21 13:13:31 +01:00
changeset_library.adoc chore: Rename some occurences of etherpad-lite to etherpad (#7552) 2026-04-19 16:53:57 +02:00
changeset_library.md chore: Rename some occurences of etherpad-lite to etherpad (#7552) 2026-04-19 16:53:57 +02:00
editbar.adoc Added docs as asciidoctor with cross platform support. (#5733) 2023-06-21 13:13:31 +01:00
editbar.md Added docs and search. (#6273) 2024-03-24 09:53:17 +01:00
editorInfo.adoc Added docs as asciidoctor with cross platform support. (#5733) 2023-06-21 13:13:31 +01:00
editorInfo.md feat(editor): add IDE-style line ops (duplicate / delete) (#7564) 2026-04-29 09:21:05 +01:00
embed_parameters.adoc Added docs as asciidoctor with cross platform support. (#5733) 2023-06-21 13:13:31 +01:00
embed_parameters.md Added vitepress for documentation. (#6270) 2024-03-23 20:58:05 +01:00
hooks_client-side.adoc Add docs for aceRegisterLineAttributes hook (#7512) 2026-04-14 13:48:33 +01:00
hooks_client-side.md feat(userlist): click a user to open chat with @<name> prefilled (#7660) 2026-05-03 05:40:44 +01:00
hooks_overview.adoc Added docs as asciidoctor with cross platform support. (#5733) 2023-06-21 13:13:31 +01:00
hooks_overview.md Added vitepress for documentation. (#6270) 2024-03-23 20:58:05 +01:00
hooks_server-side.adoc Added vitepress for documentation. (#6270) 2024-03-23 20:58:05 +01:00
hooks_server-side.md Added docs and search. (#6273) 2024-03-24 09:53:17 +01:00
http_api.adoc fix(API): hide SYSTEM_AUTHOR_ID from listAuthorsOfPad (#7793) 2026-05-17 13:19:58 +01:00
http_api.md fix(API): hide SYSTEM_AUTHOR_ID from listAuthorsOfPad (#7793) 2026-05-17 13:19:58 +01:00
index.md Added vitepress for documentation. (#6270) 2024-03-23 20:58:05 +01:00
pluginfw.adoc Added docs as asciidoctor with cross platform support. (#5733) 2023-06-21 13:13:31 +01:00
pluginfw.md Added vitepress for documentation. (#6270) 2024-03-23 20:58:05 +01:00
toolbar.adoc Added docs as asciidoctor with cross platform support. (#5733) 2023-06-21 13:13:31 +01:00
toolbar.md Added vitepress for documentation. (#6270) 2024-03-23 20:58:05 +01:00