# HG changeset patch # User Matthew Wild # Date 1479571738 0 # Node ID 28fbe960adcfdde2b16d46163c05d825e2eb350b # Parent a753b21968c5b8638b73b84c5e5ffd7bcbf5aa61 mod_firewall: README: Document conditions for groups and admins diff -r a753b21968c5 -r 28fbe960adcf mod_firewall/README.markdown --- a/mod_firewall/README.markdown Sat Nov 19 16:01:51 2016 +0000 +++ b/mod_firewall/README.markdown Sat Nov 19 16:08:58 2016 +0000 @@ -234,6 +234,25 @@ IN_ROSTER_GROUP: Friends +### Groups + +Using Prosody's mod\_groups it is possible to define groups of users on the server. You can +match based on these groups in firewall rules. + + Condition Matches + ------------- ---------------------------- + `FROM_GROUP` When the stanza is being sent from a member of the named group + `TO_GROUP` When the stanza is being sent to a member of the named group + +### Admins + +Prosody allows certain JIDs to be declared as administrators of a host, component or the whole server. + + Condition Matches + -------------- ---------------------------------- + FROM_ADMIN_OF When the sender of the stanza is an admin of the named host on the current server + TO_ADMIN_OF When the recipient of the stanza is an admin of the named host on the current server + ### Time and date #### TIME