|
[dokuwiki]
||
[Date Prev]
[06-2007 Date Index]
[Date Next]
||
[Thread Prev]
[06-2007 Thread Index]
[Thread Next]
[dokuwiki] Re: retrieving acls in own PHP script
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 12 Jun 2007 12:32:55 +0200
Thorsten Volkmer-Wolf writes:
Hi,
i've written a php script for several tasks concerning my specific adapts
of DokuWiki. I'd like to know if it's possible to get the ACL list for a
user by using some library functions that are allready delivered with
DokuWiki....browsing the dev manuals didn't help me so far.
I'd need two functions:
* determine who's logged in (may be there's a global var ?? Or i'd need to
track the users session....)
$_SERVER['REMOTE_USER']
* determine this users ACL regarding the self made script
have a look at the functions in inc/auth.php
Andi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|