mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
hall custom permission rules
This commit is contained in:
parent
0865d446b2
commit
91bb34b943
@ -16,6 +16,9 @@
|
||||
/| /: /%/filter /!noun/
|
||||
/~ |=({t/telegram:hall bowl:gall} t)
|
||||
==
|
||||
/= custom-rules
|
||||
/^ (map knot $-({ship ?($r %w) bowl:gall} ?))
|
||||
/: /%/rules /_ /!noun/
|
||||
::
|
||||
::::
|
||||
::
|
||||
@ -1617,6 +1620,10 @@
|
||||
$village (~(has in sis.con.shape) her) :< whitelist
|
||||
$journal (~(has in sis.con.shape) her) :< author whitelist
|
||||
$mailbox !(~(has in sis.con.shape) her) :< author blacklist
|
||||
$custom :< custom rule
|
||||
=/ rul/$-({ship ?($r $w) bowl:gall} ?)
|
||||
(fall (~(get by custom-rules) nom) |=(* |))
|
||||
(rul her %w bol)
|
||||
==
|
||||
::
|
||||
++ so-visible
|
||||
@ -1629,6 +1636,10 @@
|
||||
$village (~(has in sis.con.shape) her) :< whitelist
|
||||
$journal & :< all
|
||||
$mailbox (team:title our.bol her) :< our team
|
||||
$custom :< custom rule
|
||||
=/ rul/$-({ship ?($r $w) bowl:gall} ?)
|
||||
(fall (~(get by custom-rules) nom) |=(* |))
|
||||
(rul her %r bol)
|
||||
==
|
||||
--
|
||||
--
|
||||
|
@ -495,7 +495,7 @@
|
||||
::
|
||||
++ secu ::> security
|
||||
^- $-(json (unit security))
|
||||
(su (perk %channel %village %journal %mailbox ~))
|
||||
(su (perk %channel %village %journal %mailbox %custom ~))
|
||||
::
|
||||
++ crow ::> crowd
|
||||
^- $-(json (unit crowd))
|
||||
|
@ -203,6 +203,7 @@
|
||||
$village :< whitelist
|
||||
$journal :< pub r, whitelist w
|
||||
$mailbox :< our r, blacklist w
|
||||
$custom :< according to custom-rule
|
||||
== ::
|
||||
:: participant metadata. ::
|
||||
++ crowd {loc/group rem/(map circle group)} :< our & srcs presences
|
||||
|
Loading…
Reference in New Issue
Block a user