-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
shouldNeeded in productionNeeded in production
Description
@Powersource and I just came out of a meeting with nonlinear where we discussed requirements for the invitation system.
The invited person should be able to see some information about the group, without having to replicate actual group feeds etc.
We also need to support the inviter to revoke the invitation. So this means that instead of sending the group key (as we do now), we have to have multiple steps:
- Alice: Publish a DM to Bob: "grant right to invitation", containing group information
- Bob: Publish a DM to Alice: "accept right to invitation"
- Alice: Publish a DM to Bob: actual group addition msg containing the group symm key
- Bob: automatically detects the DM and then automatically "joins" the group, causing reindexEncrypted to run
Or when revoking:
- Alice: Publish a DM to Bob: "grant right to invitation", containing group information
- Alice: revoke the "right to invitation" such that any DM Bob publishes to "accept right to invitation" will be ignored
Metadata
Metadata
Assignees
Labels
shouldNeeded in productionNeeded in production