chat-cli: Add clarity

This commit is contained in:
Fang 2019-10-09 00:06:39 +02:00
parent b7f1e9c578
commit 4dea1068b2
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -638,8 +638,11 @@
=. path
=- (snoc `^path`- term)
[%chat (target-to-path our-self path)]
:: whitelist: empty if no matching permission, else true if whitelist
::
=/ whitelist=(unit ?)
=- ?~(- ~ `?=(%white kind.u))
=; perm=(unit permission)
?~(perm ~ `?=(%white kind.u.perm))
::TODO +permission-of-target?
.^ (unit permission)
%gx