[dokuwiki] Re: ACL question

  • From: "Markus Seitz" <astra_gilde@xxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 13 Apr 2006 10:21:10 +0200 (MEST)

> --- Ursprüngliche Nachricht ---
> Von: "Daniel Mitchell" <DanielMitchell@xxxxxxxxxxxxx>
> An: <dokuwiki@xxxxxxxxxxxxx>
> Betreff: [dokuwiki] ACL question
> Datum: Wed, 12 Apr 2006 15:45:05 -0600
> 
>  I'm trying to add some users to an "admins" group that can edit
> anything anywhere. So, for instance, I have in users.auth.php:
> 
> danielm:$1$76f16c7b$um/FLH4ibvGFGpd5TkYf/0:Daniel
> Mitchell:danielmitchell@xxxxxxxxxxxxx:user,pd,bridgit,admins
> 
>  and then in acl.auth.php, I have:
> 
> # everyone can read
> * @ALL 1
> * @admins 16
> notebook:*      @ALL    0
> notebook:*      @smartboard     16
> notebook:*      @pd     1
> notebook:*      @testing        1
> notebook:*      @documentation  1
> 
>  The problem is that when logged in as danielm, I only have read access
> to pages in the notebook namespace. If I move the "* @admins 16" line to
> the end of the ACL file, I still only have read access to those pages --
> do I have to explicitly add "notebook:* @admins 16" to the ACL section
> there?  

Yes.
The rule which is more precise has higher priority.
so here has
   notebook:*  @pd 1 
has higher priority than
   *  @admins 16
because
notebook:* is more precise than *.

-- 
Markus Seitz

Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: