forked from Qortal/q-blog
27 lines
796 B
Markdown
27 lines
796 B
Markdown
# ADR 0006 — Wiki Mode (Multi-Editor via Visible Revisions)
|
|
|
|
Date: 2025-08-22
|
|
Status: Accepted
|
|
|
|
## Context
|
|
|
|
Clone-on-edit bug revealed a path to collaborative editing. We want to formalize this as Wiki mode.
|
|
|
|
## Decision
|
|
|
|
- Add per-blog wikiEnabled toggle.
|
|
- Add Name-based whitelist/blacklist with precedence: blacklist > whitelist > global.
|
|
- Posts remain immutable; revisions link via originPostId/parentPostId/lineageBlogId.
|
|
- Canonical revision chosen client-side by resolver.
|
|
|
|
## Consequences
|
|
|
|
- Multiple editors may contribute visible revisions.
|
|
- Owner can revoke visibility instantly by changing lists.
|
|
- Legacy posts unaffected (wikiEnabled missing = false).
|
|
|
|
## Alternatives
|
|
|
|
- Server-side canonical logic (not possible in Qortal).
|
|
- Per-revision ACLs (heavier; unnecessary for v1).
|