Using Matrix federation between two organisations

Use a two-organisation Matrix room policy to test invitation authority, moderation, encrypted history and departure on independently operated servers.

Last updated

In short

  • Federate a private room only after both homeserver operators agree who may invite, moderate and retain its history when a member leaves.
  • Set invitation authority and moderation powers explicitly on both sides.
  • Document which historical copies can remain after a member departs.
On this page (3)

Architectures · See also Element

Organisation Alder operates one homeserver and organisation Birch operates another. They want a private room for project decisions, with a project lead on each side. A shared Matrix room distributes room events between participating servers. Removing someone’s membership governs future participation but cannot recall messages they already read, decrypted or copied. Write the agreement with both server administrators before sending sensitive material.

Adopt a room policy for the pilot

Decision Sample agreement Check from both organisations
Admission Invitation-only room with named leads responsible for membership Ordinary member cannot admit a third organisation
Moderation Each lead may remove an ordinary disruptive member Action is reflected on both servers after synchronization
History Choose history visibility and encryption before project discussions Test what a newly joined account and device can actually decrypt
Departure Employer disables account and room lead removes membership Former member receives no subsequent project discussion
Retention Each operator documents storage, backups and local retention Both leads understand which copies may survive redaction

Check the configured power levels for inviting, kicking, banning, changing room state and promoting administrators. Defaults or a room preset may differ from the agreement. Keep enough trusted moderators to handle an absence and avoid assigning powers that would allow an ordinary participant to change the admission rule.

Use the Matrix specification to check the relationship between membership, power levels and replicated room state. Have both operators review the room configuration locally. A policy signed by two project leads cannot change what a previously authorized device has already downloaded. Matrix room events · Matrix federation specification

Walk through an invitation and a moderation action

Alder invites a Birch engineer using the intended Matrix identifier. Verify the homeserver domain and the room identity through an agreed channel. Let the engineer join using a fresh device. Send a harmless message before and after joining, then inspect what is visible. Encryption key availability and room history visibility are distinct. A room that permits historical access may still have messages a particular device cannot decrypt.

Ask the Birch lead to moderate a disposable test member. Inspect membership and the action on the other homeserver once it is online. Agree how leads coordinate during a server outage, especially when one lead has removed a member but the other side has not yet observed the update. Decide when to suspend sensitive discussion until state has converged.

End the relationship

Before departure, transfer project duties and moderator authority to another named person. When someone leaves only the project, remove membership and roles for its shared room. The home organisation disables the identity when the person leaves the organisation. Verify behavior on a previously used device and with a fresh sign-in attempt. Check future messages separately from already downloaded attachments and earlier history.

Document who handles a request to remove a message and what each operator can reasonably establish about its own copies. Redaction, server retention and local device storage follow different paths. If either organisation requires unilateral control over every historical copy, keep those records in a separately governed repository and share a permissioned reference in the room. Review the agreement again when admitting a new homeserver or expanding membership beyond the original project.

Sources and further reading

Review our federation policy

Bring the proposed room policy and each operator's retention requirements to a Matrix deployment review.

Compare plans and prices, or write to us with a question this page leaves open.