diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-02-06 19:09:22 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-02-06 19:09:22 +0000 |
commit | a8a8e3b5a6cb872bbcf95b271515fc2aae9085d4 (patch) | |
tree | c4ee4a13df74090c1bae59014ef32d397fdc1bab /doc | |
parent | *** empty log message *** (diff) |
*** empty log message ***
SVN Revision: 62
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.html | 13 | ||||
-rw-r--r-- | doc/guide.tex | 16 |
2 files changed, 15 insertions, 14 deletions
diff --git a/doc/guide.html b/doc/guide.html index e4bcb91a7..1da6a5bf5 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -178,23 +178,23 @@ Declaration of ACL in config file have following syntax: <DT><TT>{user_regexp, <regexp>}</TT><DD> Matches local user with name that mathes <TT><regexp></TT>. Example: <PRE> -{acl, tests, {user, "test.*"}}. +{acl, tests, {user, "^test[0-9]*$"}}. </PRE> <DT><TT>{user_regexp, <regexp>, <server>}</TT><DD> Matches user with name that mathes <TT><regexp></TT> and from server <TT><server></TT>. Example: <PRE> -{acl, tests, {user, "test.*", "localhost"}}. +{acl, tests, {user, "^test", "localhost"}}. </PRE> <DT><TT>{server_regexp, <regexp>}</TT><DD> Matches any JID from server that matches <TT><regexp></TT>. Example: <PRE> -{acl, icq, {server, "icq.*"}}. +{acl, icq, {server, "^icq\\."}}. </PRE> <DT><TT>{node_regexp, <user_regexp>, <server_regexp>}</TT><DD> Matches user with name that mathes <TT><user_regexp></TT> and from server that matches <TT><server_regexp></TT>. Example: <PRE> -{acl, aleksey, {node_regexp, "aleksey.*", "jabber.(ru|org)"}}. +{acl, aleksey, {node_regexp, "^aleksey", "^jabber.(ru|org)$"}}. </PRE> <DT><TT>{user_glob, <glob>}</TT><DD> @@ -357,7 +357,7 @@ correctly only after restart) <DIV ALIGN=center><HR WIDTH="80%" SIZE=2></DIV></DIV></BLOCKQUOTE><!--TOC paragraph Node <TT>config/acls</TT>--> <H5> Node <TT>config/acls</TT></H5><!--SEC END --> -Via <TT>jabber:x:data</TT> queries to this node possible edit ACLs list. (See +Via <TT>jabber:x:data</TT> queries to this node possible to edit ACLs list. (See figure <A HREF="#fig:acls">2</A>) <BLOCKQUOTE><DIV ALIGN=center><DIV ALIGN=center><HR WIDTH="80%" SIZE=2></DIV> [acls editing window] @@ -369,8 +369,7 @@ figure <A HREF="#fig:acls">2</A>) <DIV ALIGN=center><HR WIDTH="80%" SIZE=2></DIV></DIV></BLOCKQUOTE><!--TOC paragraph Node <TT>config/access</TT>--> <H5> Node <TT>config/access</TT></H5><!--SEC END --> -Via <TT>jabber:x:data</TT> queries to this node possible edit access rules. -<B>Not work yet</B>.<BR> +Via <TT>jabber:x:data</TT> queries to this node possible to edit access rules.<BR> <BR> <!--TOC paragraph Node <TT>config/remusers</TT>--> 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, <regexp>\}}] Matches local user with name that mathes \texttt{<regexp>}. Example: \begin{verbatim} -{acl, tests, {user, "test.*"}}. +{acl, tests, {user, "^test[0-9]*$"}}. \end{verbatim} +%$ \item[\texttt{\{user\_regexp, <regexp>, <server>\}}] Matches user with name that mathes \texttt{<regexp>} and from server \texttt{<server>}. Example: \begin{verbatim} -{acl, tests, {user, "test.*", "localhost"}}. +{acl, tests, {user, "^test", "localhost"}}. \end{verbatim} \item[\texttt{\{server\_regexp, <regexp>\}}] Matches any JID from server that matches \texttt{<regexp>}. Example: \begin{verbatim} -{acl, icq, {server, "icq.*"}}. +{acl, icq, {server, "^icq\\."}}. \end{verbatim} \item[\texttt{\{node\_regexp, <user\_regexp>, <server\_regexp>\}}] Matches user with name that mathes \texttt{<user\_regexp>} and from server that matches \texttt{<server\_regexp>}. 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, <glob>\}}] \item[\texttt{\{user\_glob, <glob>, <server>\}}] @@ -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}} |