graph-push-hook: correctly call +get-roles-writers-variation
Fixes urbit/landscape#423
Fixes urbit/landscape#424
(node-to-indexed-post node)
=/ =permission-level:store
(get-permission permissions is-admin writers)
- ~& permission-level
?- permission-level
%yes %.y
%no %.n
|= [=resource:res indices=(set index:store)]
^- ?
%- (bond |.(%.n))
- %+ biff (get-roles-writers-variation)
+ %+ biff (get-roles-writers-variation resource)
|= [is-admin=? writers=(set ship) vip=vip-metadata:metadata]
%- some
%+ levy ~(tap by indices)
