Expand description
Moderation authority: who may remove whose message (CORD-04 §3/§5).
One algebra for both protocols. The wire differs — v1 proves its owner with a signed attestation, v2’s identity self-certifies against the community id — so the owner lookup branches and everything downstream does not.
Functions§
- can_
hide - May
actor_hexremove a message authored byauthor_hex? The actor needsMANAGE_MESSAGESand a strict outrank; the owner is supreme and is never a valid target, so owner-protection falls out of the algebra with no carve-out. - can_
hide_ in can_hidewith the owner and roster resolved from the store. Callers judging a whole page should resolve those once and callcan_hideinstead.- owner_
hex - The community’s proven owner as lowercase hex, whichever protocol it speaks.