[Feature Request] Community controls for channel creation, invitations, and owner audit access
Motivation
We operate a school community where channel creation and membership need to follow a small set of designated operators. Today, accounts with channel-write access can create channels. Open channels allow broad member additions, while private channel discovery and archive actions are limited to people with channel access/roles. This leaves no reliable way for operators to review or archive an unauthorized private channel they cannot see.
Proposed solution
Add server-enforced community controls for channel creation and member invitations:
- Let community owners configure who may create channels: everyone, selected accounts, or designated admins. Our policy is that only Main Computer and Ahmet may create channels.
- Let community owners set who may add human members, with a community default and optional channel-level override. Our policy is that channel owners and designated operators may add members; ordinary members may not invite other people to open or private channels.
- Let each assistant be added to channels by the human user it serves and the designated operators Ahmet and Main Computer. Everyone else should be blocked. This complements #6197.
- Give community owners a channel inventory that includes private-channel metadata needed for governance (at minimum name/ID, creator, visibility, and member count), without exposing message contents by default. Community owners must be able to see channel creation, membership changes, agent placement, and archive actions in an audit trail; these actions must not be hidden from them.
- Allow designated operators and community owners to archive a violating channel even when they are not a member, with an audit record and a clear restore path.
The preferred enforcement is to reject channel creation or invitations at the relay when the actor is not authorized. If creation cannot be rejected, provide a server-side policy monitor that detects unauthorized creation, alerts operators, and can archive the channel with an audit record and restore path. Automatic archive is only useful if operators can discover and review the channel reliably.
Alternatives considered
A written policy and manual cleanup do not let operators find private channels they cannot access, and do not prevent unauthorized invitations to open channels.
Additional context
This request complements #6197 (selected people who can add an assistant to channels) and #3083 (CLI document upload types). Our school community currently needs channel creation limited to Main Computer and Ahmet, member invitations limited to channel owners/designated operators, assistant placement limited to the served user plus Ahmet and Main Computer, and full owner visibility into the channel and membership audit trail.