mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 13:04:17 +03:00
Merge branch 'm/permission-hook-state-hygiene' (#2335)
* origin/m/permission-hook-state-hygiene: permission-hook: clean up access-control on %delete Signed-off-by: Jared Tobin <jared@tlon.io>
This commit is contained in:
commit
24ec14d53f
@ -195,7 +195,15 @@
|
|||||||
%delete
|
%delete
|
||||||
?. (~(has by synced) path.diff)
|
?. (~(has by synced) path.diff)
|
||||||
[~ state]
|
[~ state]
|
||||||
:_ state(synced (~(del by synced) path.diff))
|
=/ control=(unit path)
|
||||||
|
=+ (~(got by synced) path.diff)
|
||||||
|
?. =(our.bowl ship) ~
|
||||||
|
`access-control
|
||||||
|
:_ %_ state
|
||||||
|
synced (~(del by synced) path.diff)
|
||||||
|
access-control ?~ control access-control
|
||||||
|
(~(del ju access-control) u.control path.diff)
|
||||||
|
==
|
||||||
:_ ~
|
:_ ~
|
||||||
:* %pass
|
:* %pass
|
||||||
[%permission path.diff]
|
[%permission path.diff]
|
||||||
|
Loading…
Reference in New Issue
Block a user