mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
Actually do permission checks in ++lobes-at-path, for %many requests.
This commit is contained in:
parent
ee1fb2b4ab
commit
f60bb7efc1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user