1
1
mirror of https://github.com/urbit/shrub.git synced 2025-01-08 14:09:29 +03:00
shrub/pkg/arvo/sur/permission-group-hook.hoon

18 lines
496 B
Plaintext
Raw Normal View History

|%
+$ kind ?(%black %white)
::
+$ permission-group-hook-action
$% :: %associate: cause a group of ships to be mirrored onto some
:: set of permission paths.
:: note: this deletes any existing data at those permission paths first.
::
[%associate group=path permissions=(set [path kind])]
::
:: %dissociate: stop mirroring between a group and a set
:: of permission paths.
::
[%dissociate group=path permissions=(set path)]
==
--