[dokuwiki] Re: Problem with ACLs

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 10 Mar 2006 23:03:23 +0100

On Fri, 10 Mar 2006 20:28:10 +0100
"Antonino Sabetta" <sabetta@xxxxxxx> wrote:

> >
> > order matters and @ALL rule is last

This is NOT correct. Order does not matter. What matters are exact
matches. 

> Does this mean that every rule listed in the file can only add
> permissions but never revoke those that are given by previous
> (or even subsequent)  ones?

No. Imagine the following:

foo:*        @ALL 8
foo:bar:*    @ALL 1
foo:bar:baz  @ALL 2

For the page foo:bar:baz all users will have write (2) rights.

For the page foo:bar:bla all users will have read rights.


Andi

PS: please subscribe to the list or I have to approve all your mails
manually. 
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: