[dokuwiki] auth.php ACL question.
- From: chris <jugg@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 16 Oct 2007 11:30:29 -0700
Hello,
From auth.php (2007-09-30 20:49) line 81:
$AUTH_ACL = str_replace('@USER@',$_SERVER['REMOTE_USER'],$AUTH_ACL);
What is the purpose of replacing any instance of '@USER@' in the acl
file with the current user name? I haven't seen any documentation
explaining this. Basically that is just saying: give any authenticated
user at least a specific access level regardless of group membership?
* @ALL 0
* @USER@ 1
* @EDITOR 4
* @ADMIN 255
$conf['defaultgroup'] = '';
What is the difference between that and just setting a default group
that authenticated users are part of?
* @ALL 0
* @DEFAULT 1
* @EDITOR 4
* @ADMIN 255
$conf['defaultgroup'] = 'DEFAULT';
Was there an intended purpose for this code?
Thanks.
chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: auth.php ACL question.
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] auth.php ACL question.
- » [dokuwiki] Re: auth.php ACL question.
- » [dokuwiki] Re: auth.php ACL question.
- » [dokuwiki] Re: auth.php ACL question.
- » [dokuwiki] Re: auth.php ACL question.
- [dokuwiki] Re: auth.php ACL question.
- From: Andreas Gohr