DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:aclinfo

aclinfo Plugin

Compatible with DokuWiki

Binky, 2010-06-12

plugin Shows who has which permissions for the current page

Last updated on
2016-08-04
Provides
Syntax
Repository
Source

Similar to aclauditor, permissioninfo

Tagged with acl, sidebar

This plugin displays all users and groups that are set up in ACLs and are affecting the current page. Effectively the plugin gives you a hint who can do what on the current page. It is written with sidebar templates in mind and will always show the permissions of the main page not of the sidebar page.

:!: When used in a sidebar, you need to use the ~~NOCACHE~~ macro to make this plugin work correctly.

Download and Installation

A CosmoCode Plugin

Download and install the plugin using the Plugin Manager using the Download link given above. Refer to Plugins on how to install plugins manually.

Syntax and Usage

Simply put the following code into your page (e.g. your sidebar page):

~~ACLINFO~~

To check a specific page, add it separated by a ! character:

~~ACLINFO!some:page~~

User Comments

No proper function without "~~NOCACHE~~"

Even when not using this plugin in a sidebar (as mentioned for basic using) you should combine it - in production environments - with ~~NOCACHE~~ - otherwise you will run in effects due to ACL infos from cache, but not from the current (-ly changed) ACL table, which may consume your time hunting “ghost errors”. - reported for DokuWiki 2010-11-07a “Anteater”, plugin version with self-info in plugin manager as 2010-06-12, should be obviously that one stated here as “Last updated on 2008-12-26”; detail: in preview mode it seems you have always a non-cached view, so you may see effects of “missing” NOCACHE only after saving a page. —hh 29/5/11

Suggestions

It would be nice to control the display style with a simple trigger for “show comma separated inline instead of unordered list items” (avoiding user-side “adjustments” at plugin´s code level :-x). –hh 29/5/11

plugin/aclinfo.txt · Last modified: 2016-11-30 18:24 by andi