Workspace-to-Matrix-Room mapping and provisioning #380
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Map Mosaic workspaces to Matrix rooms so each workspace has a dedicated control room. When a workspace is created, optionally provision a corresponding Matrix room.
Implementation
Database
Add optional
matrix_room_idcolumn to the workspace table (or a separate mapping table):Room Provisioning
When
MATRIX_ACCESS_TOKENis set, the MatrixService should:Room Configuration
Mosaic: {workspace_name}#mosaic-{workspace_slug}:homeserver.domainLookup
The MatrixService needs a
getRoomForWorkspace(workspaceId)method that resolves which room to send messages to.Acceptance Criteria
Refs
Completed in commit
7d22c24on branch feature/m12-matrix-bridge.