Merge pull request #2260 from urbit/ixv/publish-writers-fix

OS1: add ourselves to the notebook groups we create
This commit is contained in:
matildepark 2020-02-10 16:09:58 -05:00 committed by GitHub
commit b5508a7128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -968,9 +968,10 @@
?^ grp [~ group-path.group group-path.group]
?> ?=(^ group-path.group)
?< =('~' i.group-path.group)
=/ whole-grp (~(put in invitees.group) our.bol)
:_ [group-path.group group-path.group]
%- zing
:~ [(contact-view-create [%create group-path.group invitees.group])]~
:~ [(contact-view-create [%create group-path.group whole-grp])]~
(create-security group-path.group group-path.group %village)
[(perm-hook-poke [%add-owned group-path.group group-path.group])]~
(generate-invites book (~(del in invitees.group) our.bol))
@ -988,6 +989,8 @@
%- zing
:~ [(group-poke [%bundle write-path])]~
[(group-poke [%bundle read-path])]~
[(group-poke [%add (sy our.bol ~) write-path])]~
[(group-poke [%add (sy our.bol ~) read-path])]~
(create-security read-path write-path %journal)
[(perm-hook-poke [%add-owned write-path write-path])]~
[(perm-hook-poke [%add-owned read-path read-path])]~