Skip to content

[feature]: RPC endpoint SyncUniverse checks target universe server permissions before attempting sync #760

@ffranr

Description

@ffranr

The SyncUniverse RPC endpoint is designed for syncing a specified universe ID(s) with a target universe server. A significant issue arises because SyncUniverse does not verify read permissions on the target server prior to syncing. This oversight leads to non-transparent errors for users lacking the necessary permissions.

Proposed Changes

To address this, the CheckFederationServer function should be implemented to confirm connectivity with the target universe server before initiating the sync process. An example of this function's usage can be found in our repository:

err := CheckFederationServer(

It may be necessary to expand the capabilities of CheckFederationServer to include read permission checks, in addition to its current role in validating server connections.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions