mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 09:51:36 +03:00
graph-push-hook: added more jet hints
This commit is contained in:
parent
57f5550dbc
commit
9dbade6207
@ -265,6 +265,7 @@
|
|||||||
reader.permissions
|
reader.permissions
|
||||||
::
|
::
|
||||||
++ get-roles-writers-variation
|
++ get-roles-writers-variation
|
||||||
|
~/ %get-roles-writers-variation
|
||||||
|= =resource:res
|
|= =resource:res
|
||||||
^- (unit [is-admin=? writers=(set ship) vip=vip-metadata:metadata])
|
^- (unit [is-admin=? writers=(set ship) vip=vip-metadata:metadata])
|
||||||
:: TODO: doing three scries in a row on the hot path is slow
|
:: TODO: doing three scries in a row on the hot path is slow
|
||||||
@ -289,6 +290,7 @@
|
|||||||
[(snag (dec (lent index)) index) p.post.node]
|
[(snag (dec (lent index)) index) p.post.node]
|
||||||
::
|
::
|
||||||
++ is-allowed-add
|
++ is-allowed-add
|
||||||
|
~/ %is-allowed-add
|
||||||
|= [=resource:res nodes=(map index:store node:store)]
|
|= [=resource:res nodes=(map index:store node:store)]
|
||||||
^- ?
|
^- ?
|
||||||
:: TODO: extremely slow due to scries. This takes about ~30ms per
|
:: TODO: extremely slow due to scries. This takes about ~30ms per
|
||||||
@ -332,6 +334,7 @@
|
|||||||
--
|
--
|
||||||
::
|
::
|
||||||
++ is-allowed-remove
|
++ is-allowed-remove
|
||||||
|
~/ %is-allowed-remove
|
||||||
|= [=resource:res indices=(set index:store)]
|
|= [=resource:res indices=(set index:store)]
|
||||||
^- ?
|
^- ?
|
||||||
|^
|
|^
|
||||||
|
Loading…
Reference in New Issue
Block a user