1.4 KiB
Organisation MOTD
Shared storage/validation: website/node/organisation-motd.mjs. Records are scoped
by organisation kind and UUID. Clan is connected first; Company/Politics adapters
can reuse storage while retaining their own permission and version checks.
Clan Settings has a separate Message of the day card. Only the current owner with linked game access can publish or clear it. Protected institutions retain their existing management restrictions. Maximum 1,000 characters, plain text, newlines preserved; an empty message clears the displayed text. The description is separate.
The clan API returns the message only to current members. The welcome dashboard renders it read-only with textContent. Public visitors receive no message content. The settings form uses the existing clan mutation path, origin checks, optimistic version guard and owner/membership guard. Message, version and audit commit or roll back together. Activity reports an update/clear without copying message content.
Tests cover owner save/clear, officer/outsider denial, stale writes, validation, privacy and rollback on audit failure. Browser checks exercise the actual clan settings form with simulated API records at 1200/760/390 pixels, then verify the dashboard displays literal multiline content without an editor. No live clan message is changed by deployment or test fixtures. Claims is a separate discussion.

Staff