DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:disableactionsbygroup

disableactionsbygroup Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" unknown
  • 2014-09-29 "Hrun" unknown

plugin Allows you to disable actions for particular user groups

Last updated on
2016-09-19
Provides
Action
Repository
Source

Similar to denyactions

Tagged with authentication

By adron

Installation

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.

Examples/Usage

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

admin:;author:;user:edit,media,diff,source,backlinks

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.

Syntax

groupname1:action1,action2,action3,...;groupname2:action1,action2,action3,...

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

Development

Change Log

Known Bugs and Issues

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

https://github.com/adron1111/disableactionsbygroup/issues

ToDo/Wish List

  • More structured configuration

FAQ

Discussion

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:

admin:;user:edit,revisions,export_raw,export_xhtml,export_xhtmlbody;all:edit,revisions,export_raw,export_xhtml,export_xhtmlbody

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 KaesgardBranmabon Kaesgard

2017-02-25 17:42

plugin/disableactionsbygroup.txt · Last modified: 2017-03-25 17:42 by Branmabon Kaesgard