It's better when it's simple

User Tools

Site Tools


disableactionsbygroup Plugin

Compatible with DokuWiki

  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown

plugin Allows you to disable actions for particular user groups

Last updated on

Similar to denyactions, hidemenus

Tagged with authentication

By adron


Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


Set up a list of actions to disable by group in the plugin configuration settings, such as:


This will cause members of the admin and author groups to have no actions restricted; members of the user group will have edit, media, diff, source and backlinks restricted, and other users or people not logged in will have whatever settings you specified in the disableactions generic config setting.



groupname1, groupname2, etc are user groups. The order in which groups are specified is significant; only the first match found applies to any particular user.

action1, action2, action3, etc are actions, as listed on action modes

Configuration and Settings


Change Log

Known Bugs and Issues

This plugin will not work if trustExternal is used for authentication.

ToDo/Wish List

  • More structured configuration
  • Make it work for remote groups (AD/LDAP)



Restrictions to ALL group

Does this plugin work when applied to the “ALL” group? It doesn't seem like it. If I am right… is there any way to apply action restrictions to this group (vistors who are not logged in)?

In my config I added:


The restrictions work fine for a logged-in user but not for ALL (non logged-in visitor). Thanks in advance for any relevant information — Branmabon Kaesgard 2017-02-25 17:42

Hi! The default settings are responsible for disabling actions to the @ALL. The settings of this plugin override all available actions for groups.

rc-2020-06-09 "Hogfather" RC3

Hey guys just installed this plugin and got a 500er white screen of death, here is the fix (seems like a typo?): Change

| | ./lib/plugins/disableactionsbygroup/action.php
public function register(Doku_Event_Handler &$controller)


public function register(Doku_Event_Handler $controller)

retroman 2020-07-18 15:33

plugin/disableactionsbygroup.txt · Last modified: 2023-01-13 09:41 by michaelsy

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