herm: permission checks

Make sure herm can only be interacted with by the local ship.
This commit is contained in:
fang 2021-12-13 14:25:14 +01:00
parent c7c601c041
commit fd375c1d90
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -32,6 +32,7 @@
++ on-watch
|= =path
^- (quip card:agent:gall _this)
?> =(our src):bowl
?> ?=([%session @ %view ~] path)
:_ this
:: scry prompt and cursor position out of dill for initial response
@ -63,6 +64,7 @@
++ on-poke
|= [=mark =vase]
^- (quip card:agent:gall _this)
?> =(our src):bowl
?. ?=(%belt mark)
~| [%unexpected-mark mark]
!!