DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:denyactions

Denyactions Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" no
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes

plugin Deny some actions from not logged in users

Last updated on
2018-12-30
Provides
Action
Repository
Source

Similar to disableactionsbygroup

Tagged with authentication, cms

Installation

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

:!: To upgrade the plugin from earlier (2012) version please uninstall the plugin first

Examples/Usage

After installing this plugin you have to configure it. Add a comma separated list of actions you don't want users with read only rights to execute. Check the list of valid actions

New options to deny view of old revisions. Also option for informing user for denied acces. Silend, msg or login promp.

:!: You do not want to put something like login in the list :!:

Change Log

  • Added fr translation by Schplurtz. — oiv 2012/02/26 16:13
  • Added option for denying old revision view
  • Added option how to inform on denied acces
  • Fixed some compatibility issues

Known Bugs and Issues

ToDo/Wish List

  • Have you thought about generalizing this behaviour with your plugin to any group and not just users with read only right? As I understand your plugin, it goes one step further than the core code which can forbid an action for all user (except admins) through the $conf['disableactions'] setting. What could be great is a way to tell group1 doesn't get action1 and group2 doesn't get action2,action3. What do you think? — bug 2012/08/27 17:27
    • Sorry. No plans (=time) for that. But feel free to take the code and extend it :-)oiv 2012/11/16 10:09

FAQ

Discussion

Compatible

  • Work for me with DokuWiki 2014-09-29d “Hrun” — Aleksandr Selivanov 2015-08-25 09:50
  • Work for me with DokuWiki 2018-04-22a “Greebo” — Moin! 2018-12-31 12:47

Compatibility issues

  • Does not work for me with DokuWiki 2020-07-29 “Hogfather” :-(
  • Results in a Blank Page “Fatal error: Declaration of action_plugin_denyactions::register(Doku_Event_Handler &$controller) must be compatible with dokuwiki\Extension\ActionPlugin::register(Doku_Event_Handler $controller) […]”
  • Work around: Disable denyactions plugin by adding “$plugins['denyactions'] = 0;” to your /conf/plugins.local.php — fisch 2020-08-08 09:02
  • Update: Here is the hot fix you can try to solve - it worked for me (thanks to retroman):
plugin/denyactions.txt · Last modified: 2020-08-09 07:44 by fisch