acl plugin by Andreas Gohr
Manage page and namespace ACL settings (bundled with DokuWiki)
Provides Admin.
Compatible with DokuWiki (bundled).
Similar to superacl.
experimental NEEDSATTENTION This plugin is no more experimental, please update this page to have up to date info
This plugin handles the management of access control lists for individual pages and namespaces. For full details on using the plugin refer acl where it is refered to as the Administration Interface.
The plugin is bundled with Dokuwiki. It consists of one file admin.php which resides in lib/plugins/acl folder.
The original ACL functions were written by Frank Schubert. These were converted to an admin plugin by Christopher Smith. Then with version 2008-05-05 it was completely re-written by Andreas Gohr.
If one user is referred in more than one rule (e.g. in the * namespace, and the ns01 namespace) only one rule appears on the GUI, but config file is written correctly. If one rule is deleted on the GUI, the another appears. (zl551@hszk.bme.hu)
This is actually the correct operation. When looking at the ACL plugin output for a given namespace, the ACL data (from the conf/acl file) is reduced to the permissions which are applied to the current page. It took me some time to wrap my head around this one, but once you get it, it makes perfect sense.it's wrong (IMO) to make people wrap their head around. it means it's not simple logic.i modified my admin.php so that every acl displayed make perfect sense when you first see it. this is important or users get lost easily. Same thing for namespaces. e.g. start:page will show you namespace start:* and the page start:page. but not the namespace start:page:*. you have to create a new page (!) to see and manage that namespace. this is not what i would call logic. i mooded mine to show the subnamespace (even if it doesnt exist yet) as well as your current namespace and page-space. and users are suddently happy :PAny details on that mod ?May I insert a “me too” here?
I think that those details would be of great benefit to anyone.
Thanks in advance.
In the new (2008-05-05) version of Dokuwiki's ACL plug-in, all ACL rules are shown in the bottom table, instead of only those of the selected namespace, it's pages and inherited ACLs. I consider this a bug, since in our wiki with 4500 pages and 350 namespaces, displaying the complete list of currently 464 ACL-rules practical makes the plug-in unusable. I couldn't find a switch to change back to the “classic filtered view”, did I miss this in the configuration? Is there a patch or do I have to write it myself? Otherwise, I really like the new ACL-Interface.
I solved the problem myself writing a new version of superacl.