[dokuwiki] Re: ACL

Dirk Bollen wrote:
Ok. My dokuwiki works fine. Now I wan to use ACL.

I did everything explained in the config manual on the dokuwiki site

#> cp dokuwiki/conf/users.auth.php.dist dokuwiki/conf/users.auth.php
#> cp dokuwiki/conf/acl.auth.php.dist dokuwiki/conf/acl.auth.php

Still I just can open my wiki site without authantication?

In my local.php 'useacl = 1'


$conf['useacl'] = 1;


That sets up ACL ready for use, you still need to add settings for individual users and page access restrictions. The basic setting is everyone (@ALL) has create access to the whole wiki. No users are created and no groups.

Next you need to:
- register yourself as a user (login and create your own user name)
- set yourself to be a superuser (modify /conf/local.php setting $conf['superuser'] = "<your username>"


Log out and log back in.

Now you should have an "admin" button on the bottom right of the dokuwiki screen. Click that. You should be presented with the dokuwiki administration menu. There should be an entry for "Access Control List Management..." click that.

You can now set access controls for the current page & current namespace. You'll find more information on how to do both by reading the various ACL pages at wiki.splitbrain.org.

By installing one of the user manager plugins you can manage your users.
Also by installing the config plugin you can change your dokuwiki configuration settings without having to edit local.php by hand.


Cheers,

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: