S2S: Factory: Implement collaborators and teams
Teams now serve as a way to offer factories to remote instances
This commit is contained in:
parent
df4a2b221e
commit
b74d0d46c4
2 changed files with 2083 additions and 0 deletions
|
@ -2175,6 +2175,12 @@ componentRemove grabKomponent topicComponent now topicKey (Verse authorIdMsig bo
|
||||||
Just inboxItemID ->
|
Just inboxItemID ->
|
||||||
doneDB inboxItemID "[Team-passive] Saw the removal attempt, just waiting for the Revoke"
|
doneDB inboxItemID "[Team-passive] Saw the removal attempt, just waiting for the Revoke"
|
||||||
|
|
||||||
|
-- Meaning: An actor A asked to join a resource
|
||||||
|
-- Behavior:
|
||||||
|
-- * Verify the resource is me
|
||||||
|
-- * Verify A doesn't already have an invite/join/grant for me
|
||||||
|
-- * Remember the join in DB
|
||||||
|
-- * Forward the Join to my followers
|
||||||
topicJoin
|
topicJoin
|
||||||
:: (PersistRecordBackend topic SqlBackend, ToBackendKey SqlBackend topic)
|
:: (PersistRecordBackend topic SqlBackend, ToBackendKey SqlBackend topic)
|
||||||
=> (topic -> ResourceId)
|
=> (topic -> ResourceId)
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue