mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 15:38:59 +03:00
graph-push-hook: fix +is-allowed
This commit is contained in:
parent
3fce1cdcb6
commit
9d08d0d2b6
@ -97,7 +97,7 @@
|
||||
++ initial-watch
|
||||
|= [=path =resource:res]
|
||||
^- vase
|
||||
?> (is-allowed resource bowl %.n)
|
||||
?> (is-allowed resource)
|
||||
!> ^- update:store
|
||||
?~ path
|
||||
:: new subscribe
|
||||
@ -185,8 +185,10 @@
|
||||
reader.permissions
|
||||
::
|
||||
++ is-allowed
|
||||
|= *
|
||||
%.y
|
||||
|= =resource:res
|
||||
=/ group-res=resource:res
|
||||
(need (peek-group:met %graph resource))
|
||||
(is-member:grp src.bowl group-res)
|
||||
::
|
||||
++ get-roles-writers-variation
|
||||
|= =resource:res
|
||||
|
Loading…
Reference in New Issue
Block a user