DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:aclinfo

aclinfo Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

plugin Shows who has which permissions for the current page

Last updated on
2020-10-01
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

Search and install the plugin using the Extension Manager. 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: 2024-01-07 13:42 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki