-
Notifications
You must be signed in to change notification settings - Fork 57
branch announcement message type #258
Comments
My initial thoughts are that it makes sense to have a separate announcement message for branches specifically, but considering the nested nature of the branches, I think it makes more sense for |
The point is that we dont want to need to send new keyloads for each new branch. By that logic, a keyload need to come before a topic, so it can have a link to the permissions. |
That's what I'm saying though, if you have
Then it stands to reason that anyone who would be reading The rest of the logic makes sense to me, just not the |
As I think the problem here is that we are all making different assumptions about how things should work, I'll try to break down my assumptions into some premises so that we can discuss each one individually: Requirements
Inferences
Specific DiscussionAbout this diagram,
Note that this diagram does not depict the implementation in #236 . In this implementation,
As can be seen in the diagram, #236 complies with requirement 3), but not with the rest. What I propose in this issue is the following:
|
[DRAFT] Meeting Notes
|
Description
Stream announcements communicate the stream author's identifier to the rest of the participants. Branch announcements, instead, communicate (or will need to comunicate) the topic of the new branch. Apart from that, branch announcements must be chained so that only the intended subscribers can create and read it, and more importantly, inherit the permissions to the new branch.
As a consequence of the requirements stated above, branch announcements cannot be read by anybody and cannot be the message whose Spongos keyload join (because keyloads need to be readable by anybody at any times). Therefore, keyloads should revert to joining the stream announcement spongos, and link to the tip of the branch.
DoD
BranchAnnouncement
StreamAnnouncement
(ie renameAnnouncement
toStreamAnnouncement
)BranchAnnouncement
messages include the topic of the new branch being createdBranchAnnouncement
messages are sent to the parent branch from which the new branch is being forked (therefore, the topic in the HDF of theBranchAnnouncement
message is the parent branch)BranchAnnouncement
message are logically linked to the last message sent in the branch, just like any other messageKeyload
messages are logically linked to the last message sent in the branch, just like any other messageKeyload
messages join theStreamAnnouncement
spongos state instead of the linked message Spongos stateThe text was updated successfully, but these errors were encountered: