* doc/guide.tex: Fixed regexp ACL configuration examples (Thanks

to Massimiliano Mirra).

SVN Revision: 681
This commit is contained in:
Mickaël Rémond 2006-11-24 11:22:15 +00:00
parent 661a34ccfc
commit c82cfe47c2
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-11-24 Mickael Remond <mickael.remond@process-one.net>
* doc/guide.tex: Fixed regexp ACL configuration examples
(Thanks to Massimiliano Mirra).
2006-11-23 Alexey Shchepin <alexey@sevcom.net>
* src/eldap/eldap.erl: Bugfix (thanks to Evgeniy Khramtsov)

View File

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