DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:usermanager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:usermanager [2014-08-02 13:30] – added last update date achplugin:usermanager [2023-08-25 00:04] (current) Klap-in
Line 5: Line 5:
 author     : Christopher Smith author     : Christopher Smith
 email      : chris@jalakai.co.uk email      : chris@jalakai.co.uk
-type       : admin +type       : admin, cli 
-lastupdate : 2014-03-05+lastupdate : 2023-04-04
 compatible : (bundled) compatible : (bundled)
 depends    :  depends    : 
Line 15: Line 15:
 ---- ----
  
 +This plugin allows wiki admins to manage their registered users. It provides facilities for:
  
-===== Description ===== 
- 
-This plugin allows wiki admins to manage their registered users. It provides facilities for: 
   * adding new users   * adding new users
   * editing existing users, including changing group memberships   * editing existing users, including changing group memberships
Line 24: Line 22:
  
 {{ :plugin:usermanager.png?350|}} {{ :plugin:usermanager.png?350|}}
 +
 The user manager works with a variety of different authorization backends, they tell it whether certain functions (e.g. user editing) are available and it adjusts its user interface accordingly. At present the user manager does not provide any validation of data used to create new users or modify existing users. The user manager works with a variety of different authorization backends, they tell it whether certain functions (e.g. user editing) are available and it adjusts its user interface accordingly. At present the user manager does not provide any validation of data used to create new users or modify existing users.
  
Line 30: Line 29:
 ===== Usage ===== ===== Usage =====
  
-The User Manager is accessible from the admin screen (Login as superuser, click "Admin" and choose "User Management").+The User Manager is accessible from the admin screen (Login as superuser, click "Admin" and choose "{{https://raw.githubusercontent.com/dokuwiki/dokuwiki/master/lib/plugins/usermanager/admin.svg?14}} User Manager").
  
 Add an user by filling the ''Add User'' form. Be sure you provided a password or check ''Notify user'' checkbox, otherwise addition fails. Add an user by filling the ''Add User'' form. Be sure you provided a password or check ''Notify user'' checkbox, otherwise addition fails.
- 
  
 Editing an user can be done in the ''Edit User'' form that appears when you click on the username in the User List. Editing an user can be done in the ''Edit User'' form that appears when you click on the username in the User List.
  
-===== Development ===== +===== Reporting Issues =====
- +
-=== To Do === +
-  * (possibly) add data validation +
-  * adding of new groups +
-  * add support for auth_group functions (rather than through user modification) +
- +
-=== Reporting issues, bugs and feature request === +
-As the User Manager is a bundled plugin, please report your issues and feature request on the Bug tracker of DokuWiki: https://github.com/splitbrain/dokuwiki/issues.  +
  
 +As the User Manager is a bundled plugin, please report your issues and feature request on the Bug tracker of DokuWiki: https://github.com/dokuwiki/dokuwiki/issues. 
  
  
 =====FAQ===== =====FAQ=====
  
-===Is there a way to see all contributions by a user with this plugin (or another)?=== +=== Why can I not edit users? ===
-Not with this plugin. But the [[Editor]] plugin can show a list of recently changed pages by a given user, ip or group. +
  
-===Why i cannot edit users?=== 
 Check the permissions of the file conf/users.auth.php. It needs to be writable for your webserver. This can be checked by adding ''?do=check'' to url. Check the permissions of the file conf/users.auth.php. It needs to be writable for your webserver. This can be checked by adding ''?do=check'' to url.
  
-> With mysql authentication, you cannot edit update users when using an older configuration file 'conf/mysql.conf.php' The checkbox or link to users for editing or updating users will not work.  To fix this, please upgrade to the newer version of the config file, using (needs renaming $conf['auth']['mysql'] to $conf['plugin']['authmysql']) to be able to edit the users.  Read carefully [[plugin:authmysql | plugin authmysql]].+Also make sure your auth backend actually supports editing users.
  
 +=== Can I give non-superusers access to usermanager? ===
  
-===Can i give non-superusers access to usermanager?===+Not by configuration. Since this plugin allows changing groups, this would allow a manager to gain additional permissions, eg. by adding themselves into the admin group.
  
-You can configure a "manager", these get access to some tools on the admin window, but default no access to user and ACL manager. When you add the next snippet to ''admin.php'' of the wanted plugin, it will appear in the admin window of managers  +The plugin [[plugin:usermanagerextended]] does give [[config:manager|managers]] restricted access, while preventing them from modifying superusers or escalating privileges.
-<code php> +
-    /** +
-     * access for managers +
-     */ +
-    function forAdminOnly(){ +
-        return false; +
-    } +
-</code> +
-  +
-See also [[config:manager|Configure managers]]+
  
 +=== How do I change the content of registration mail?===
  
 +Copy ''inc/lang/en/registermail.txt'' to ''conf/lang/en/registeredmail.txt'' and modify it. See for more info [[:localization#changing_some_localized_texts_and_strings_in_your_installation|Changing localized texts in your installation]].
  
-=== How do i change the content of registration mail?=== 
-Copy ''inc/lang/en/registermail.txt'' to ''conf/lang/en/registeredmail.txt'' and modify it. See for more info [[:localization#Changing localized texts in your installation]] 
plugin/usermanager.1406979028.txt.gz · Last modified: 2014-08-02 13:30 by ach

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