Skip to content

Vault Sharing With GestaltIDs #626

@amydevs

Description

@amydevs

Specification

Originally, vault sharing was understood that it was only to a singular node.

The desired behaviour should be that sharing a vault with a nodeId shares the vault with the entire gestalt. This is because Gestalts are addressable by both nodeIds and identityProviderIds. Furthermore, the VaultShare handlers should also be able to accept identityProviderIds as well, and take the first discovered node of the identity to trust.

There are some implications regarding discovery. For example, in the case where node B trusts node A, and hence gestalt A, but node C joins gestalt A after this, so that node B does not know that node C is in gestalt A yet.

Untitled-2023-10-23-0424 excalidraw(4)

Additional context

Tasks

  1. Allow for nodes from the same trusted gestalt to clone/pull a vault
  2. When a vault is shared with a gestalt, implement notifications for all nodes of that gestalt
  3. Update discovery mechanism when vault pull is called.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions