Skip to content

[FEAT] Channel Migration on container start #2425

@Yeraze

Description

@Yeraze

Now that we have channel migration moving messages around as we move channels, we need a similar detection on container start.

Outside entities could rearrange channels (the official app, for example). On startup, when downloading node configuration, we should detect a mismatch of channels from our database and if we see a channel has moved or swapped, execute the same message migration so that things remain in sync in MeshMonitor.

In addition, when we detect this we should:

  • Log the detection in the Audit Logs, and the Channel Message migration.
  • Update user channel permissions to align to the new channel configuration
  • Any channels not previously known should default user permissions to none
  • Reflect each of these changes in the AUdit Log

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions