25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

* src/guide.tex: Fix: user_regexp acls are valid for all local users (all vhosts).

SVN Revision: 924
This commit is contained in:
Mickaël Rémond 2007-09-10 16:15:00 +00:00
parent 8cd1adec4b
commit e7cb9680b2
2 changed files with 2 additions and 2 deletions

View File

@ -822,7 +822,7 @@ declarations of ACLs in the configuration file have the following syntax:
<TT>&lt;server&gt;</TT>. Example:
<PRE CLASS="verbatim">{acl, exampleorg, {server, "example.org"}}.
</PRE></DD><DT CLASS="dt-description"><B><TT>{user_regexp, &lt;regexp&gt;}</TT></B></DT><DD CLASS="dd-description"> Matches any local user with a name that
matches <TT>&lt;regexp&gt;</TT> at the first virtual host. Example:
matches <TT>&lt;regexp&gt;</TT> on local virtual hosts. Example:
<PRE CLASS="verbatim">{acl, tests, {user_regexp, "^test[0-9]*$"}}.
</PRE></DD><DT CLASS="dt-description"><B><TT>{user_regexp, &lt;regexp&gt;, &lt;server&gt;}</TT></B></DT><DD CLASS="dd-description"> Matches any user with a name
that matches <TT>&lt;regexp&gt;</TT> at server <TT>&lt;server&gt;</TT>. Example:

View File

@ -910,7 +910,7 @@ declarations of ACLs in the configuration file have the following syntax:
{acl, exampleorg, {server, "example.org"}}.
\end{verbatim}
\titem{\{user\_regexp, <regexp>\}} Matches any local user with a name that
matches \term{<regexp>} at the first virtual host. Example:
matches \term{<regexp>} on local virtual hosts. Example:
\begin{verbatim}
{acl, tests, {user_regexp, "^test[0-9]*$"}}.
\end{verbatim}