Article delegate-en/4215 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: ACLs PERMIT/REJECT priority order
18 Nov 2008 02:20:14 GMT (Yutaka Sato)
The DeleGate Project


In message <_A4214@delegate-en.ML_> on 11/17/08(22:00:12)
you Dmitry Donskih <> wrote:
 |Could anyone explain in what order PERMIT REJECT REMITTABLE etc.
 |parameters are processed?
 |Or is there any way to prioritize such parameters
 |(i.e. like MOUNT pri=XX option does)?

There is no priority among them because all of them must be satisfied 
to be permitted.  Any parameter except REJECT must be sutisfied if
specified (explicitly or implicitly).  And if REJECT is given and
matched, the access is forbidden regardless of any other access control
You can see it in the implementation of "access.c:PERMITTED_ACCESS()".

  9 9   Yutaka Sato <>
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]