plugin:denyactions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:denyactions [2014-02-14 18:29] – 81.67.207.96 | plugin:denyactions [2024-03-26 15:39] (current) – [Compatibility issues] 32.140.58.102 | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : otto@valjakko.net | email : otto@valjakko.net | ||
type : action | type : action | ||
- | lastupdate : 2012-02-26 | + | lastupdate : 2018-12-30 |
- | compatible : anteater, rincewind, | + | compatible : anteater, rincewind, angua, adora belle, |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : authentication | + | tags : authentication, cms, disable-actions |
- | + | ||
- | + | ||
- | + | ||
- | downloadurl: | + | |
+ | downloadurl: | ||
+ | bugtracker: | ||
+ | sourcerepo: | ||
---- | ---- | ||
===== Installation ===== | ===== Installation ===== | ||
- | Install | + | Search and install |
+ | |||
+ | :!: **To upgrade the plugin from earlier (2012) version please uninstall the plugin first** | ||
===== Examples/ | ===== Examples/ | ||
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 [[devel: | 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 [[devel: | ||
+ | |||
+ | 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 '' | :!: You do not want to put something like '' | ||
Line 32: | Line 35: | ||
* Added fr translation by [[user> | * Added fr translation by [[user> | ||
+ | * Added option for denying old revision view | ||
+ | * Added option how to inform on denied acces | ||
+ | * Fixed some compatibility issues | ||
Line 41: | Line 47: | ||
* 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[' | * 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[' | ||
* Sorry. No plans (=time) for that. But feel free to take the code and extend it :-) --- [[user> | * Sorry. No plans (=time) for that. But feel free to take the code and extend it :-) --- [[user> | ||
- | * | + | |
===== FAQ ===== | ===== FAQ ===== | ||
===== Discussion ===== | ===== Discussion ===== | ||
+ | ==== Compatible ==== | ||
+ | |||
+ | * Work for me with DokuWiki 2014-09-29d " | ||
+ | * Work for me with DokuWiki 2018-04-22a " | ||
+ | * Does throw error: Undefined variable $ID in ...\lib\plugins\denyactions\action\rev.php on line 24 "Jack Jackrum" | ||
+ | ==== Compatibility issues ==== | ||
+ | |||
+ | * Does not work for me with DokuWiki 2020-07-29 " | ||
+ | * Results in a [[: | ||
+ | * Work around: Disable denyactions plugin by adding //" | ||
+ | * Update: Here is the hot fix you can try to solve - it worked for me (thanks to [[user> | ||
+ | * Change <code php | | ./ | ||
+ | * To <code php> public function register(Doku_Event_Handler $controller)</ | ||
+ | * Fix for: //PHP Warning: | ||
+ | * Change <code php ../ | ||
+ | global $INFO; | ||
+ | global $lang;</ | ||
+ | * To <code php> | ||
+ | global $ID; | ||
+ | global $INFO; | ||
+ | global $lang;</ |
plugin/denyactions.1392398958.txt.gz · Last modified: 2014-02-14 18:29 by 81.67.207.96