From a8a8e3b5a6cb872bbcf95b271515fc2aae9085d4 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Thu, 6 Feb 2003 19:09:22 +0000 Subject: *** empty log message *** SVN Revision: 62 --- doc/guide.tex | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'doc/guide.tex') diff --git a/doc/guide.tex b/doc/guide.tex index 46ecc96dc..f9a3e5eb5 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -218,27 +218,29 @@ Declaration of ACL in config file have following syntax: \item[\texttt{\{user\_regexp, \}}] Matches local user with name that mathes \texttt{}. Example: \begin{verbatim} -{acl, tests, {user, "test.*"}}. +{acl, tests, {user, "^test[0-9]*$"}}. \end{verbatim} +%$ \item[\texttt{\{user\_regexp, , \}}] Matches user with name that mathes \texttt{} and from server \texttt{}. Example: \begin{verbatim} -{acl, tests, {user, "test.*", "localhost"}}. +{acl, tests, {user, "^test", "localhost"}}. \end{verbatim} \item[\texttt{\{server\_regexp, \}}] Matches any JID from server that matches \texttt{}. Example: \begin{verbatim} -{acl, icq, {server, "icq.*"}}. +{acl, icq, {server, "^icq\\."}}. \end{verbatim} \item[\texttt{\{node\_regexp, , \}}] Matches user with name that mathes \texttt{} and from server that matches \texttt{}. Example: \begin{verbatim} -{acl, aleksey, {node_regexp, "aleksey.*", "jabber.(ru|org)"}}. +{acl, aleksey, {node_regexp, "^aleksey", "^jabber.(ru|org)$"}}. \end{verbatim} +%$ \item[\texttt{\{user\_glob, \}}] \item[\texttt{\{user\_glob, , \}}] @@ -400,7 +402,7 @@ correctly only after restart) \paragraph{Node \texttt{config/acls}} -Via \ns{jabber:x:data} queries to this node possible edit ACLs list. (See +Via \ns{jabber:x:data} queries to this node possible to edit ACLs list. (See figure~\ref{fig:acls}) \begin{figure}[htbp] \centering @@ -412,8 +414,8 @@ figure~\ref{fig:acls}) \paragraph{Node \texttt{config/access}} -Via \ns{jabber:x:data} queries to this node possible edit access rules. -\textbf{Not work yet}. +Via \ns{jabber:x:data} queries to this node possible to edit access rules. + \paragraph{Node \texttt{config/remusers}} -- cgit v1.2.3