Populate editor user identity for co-editing and authorship #149
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#149
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?
Every editor session opens as
Anonymousbecausehero_office_server::build_editor_configdoes not seteditorConfig.user. Two practical effects:Anonymouson cursors and in the comments side panel.Acceptance
IslandContextalready carries enough identity (context_name, plus whatever the host attaches). Map it intoeditorConfig.user = { id, name }and JWT-sign as part of the config.create_editor_sessionRPC accepts an optional user identity; falls back to a stable per-context anonymous if absent.