Actually do permission checks in ++lobes-at-path, for %many requests.

This commit is contained in:
Fang 2018-02-09 13:00:12 +01:00
parent ee1fb2b4ab
commit f60bb7efc1

View File

@ -2241,6 +2241,8 @@
|= {for/(unit ship) yon/aeon pax/path}
^- (map path lobe)
?: =(0 yon) ~
:: we use %z for the check because it looks at all child paths.
?: |(?=($~ for) (may-read u.for %z yon pax)) ~
%- malt
%+ skim
%~ tap by