It's better when it's simple

User Tools

Site Tools


adminperm Plugin

Compatible with DokuWiki

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

plugin Override Access to admin plugins

Last updated on
Admin, Action

Tagged with acl, admin, permissions

This plugin allows you to give access to admin and manager plugins to users and groups without making them admins or managers.


A CosmoCode Plugin

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.


After installing, a new menu entry “Admin Plugin Access Overrides” is available in the Admin menu. It lists all installed plugins with an admin component. The default access is given in brackets (A = admin only, M = manager access).

For each plugin you can configure a comma separated list of users and groups that also should have access to the plugin's feature.

:!: Plugins may not expect that they are run by unprivileged users. Giving access to them may lead to privilege escalations and unforeseen side effects. You should only grant access to people you trust.

Plugin Support

The plugin only grants access to the admin component of a plugin. Often plugins also contain other component types (for example an action component to handle AJAX requests). These component usually do their own permission checks. To be compatible with this plugin, they need to be updated to make use of the new isAccessibleByCurrentUser() method.


A plugin might use this check in it's AJAX handling:

if(!auth_isadmin()) {
    echo 'for admins only';

This needs to be changed to use the admin components' method instead:

/** @var $admin admin_plugin_myplugin */
$admin = plugin_load('admin', 'myplugin');
if(!$admin->isAccessibleByCurrentUser()) {
    echo 'for admins only';
plugin/adminperm.txt · Last modified: 2022-07-31 22:41 by Klap-in

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