mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Add explanation about global Access precendence over vhost Access (EJAB-803)
SVN Revision: 2824
This commit is contained in:
parent
c7f4f39c03
commit
71142e336d
@ -1183,7 +1183,10 @@ The syntax is:
|
|||||||
sequentially checks if that JID matches any of the ACLs that are named in the
|
sequentially checks if that JID matches any of the ACLs that are named in the
|
||||||
second elements of the tuples in the list. If it matches, the first element of
|
second elements of the tuples in the list. If it matches, the first element of
|
||||||
the first matched tuple is returned, otherwise the value ‘<TT>deny</TT>’ is
|
the first matched tuple is returned, otherwise the value ‘<TT>deny</TT>’ is
|
||||||
returned.</P><P>Example:
|
returned.</P><P>If you define specific Access rights in a virtual host,
|
||||||
|
remember that the globally defined Access rights have precedence over those.
|
||||||
|
This means that, in case of conflict, the Access granted or denied in the global server is used
|
||||||
|
and the Access of a virtual host doesn’t have effect.</P><P>Example:
|
||||||
</P><PRE CLASS="verbatim">{access, configure, [{allow, admin}]}.
|
</P><PRE CLASS="verbatim">{access, configure, [{allow, admin}]}.
|
||||||
{access, something, [{deny, badmans},
|
{access, something, [{deny, badmans},
|
||||||
{allow, all}]}.
|
{allow, all}]}.
|
||||||
|
@ -1439,6 +1439,11 @@ second elements of the tuples in the list. If it matches, the first element of
|
|||||||
the first matched tuple is returned, otherwise the value `\term{deny}' is
|
the first matched tuple is returned, otherwise the value `\term{deny}' is
|
||||||
returned.
|
returned.
|
||||||
|
|
||||||
|
If you define specific Access rights in a virtual host,
|
||||||
|
remember that the globally defined Access rights have precedence over those.
|
||||||
|
This means that, in case of conflict, the Access granted or denied in the global server is used
|
||||||
|
and the Access of a virtual host doesn't have effect.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
{access, configure, [{allow, admin}]}.
|
{access, configure, [{allow, admin}]}.
|
||||||
|
Loading…
Reference in New Issue
Block a user