Wiki source code of User Management

Version 59.1 by Thomas Delafosse on 2013/05/07

Hide last authors
Silvia Macovei 52.3 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
Silvia Macovei 44.1 4
5 {{info}}
Manuel Smeria 52.5 6 * These instructions assume you're using XWiki 1.2 or later with the **[[Albatross, Toucan or Colibri skins>>AdminGuide.Skins]]** (screenshots for Colibri).
7 * The default skin is currently Colibri.
Silvia Macovei 44.1 8 {{/info}}
Vincent Massol 50.3 9
Silvia Macovei 44.2 10 = Adding users to your wiki =
JanEldenmalm 1.1 11
Manuel Smeria 52.5 12 1. Log in as an administrator
13 1. Hover over "Wiki" and click on "Administer Wiki"
14 1. Click on the "Users" link to bring up an overview of all the users
15 1. Click on the "Add new user" button to open a registration page as shown on the image below
16 1. Fill in the user information
Dmitry Bakbardin 56.1 17 1. Click "Save":(((
Silvia Macovei 52.4 18 {{image reference="AddUser.png"/}}
Manuel Smeria 52.5 19 )))
DavidSowerby 48.1 20
Silvia Macovei 44.2 21 = Changing a user's password =
EvelinaSlatineanu 34.1 22
Silvia Macovei 44.2 23 == Changing the password for any user ==
Vincent Massol 35.1 24
Manuel Smeria 52.5 25 1. Log in as an administrator
26 1. Hover over "Wiki" and click on "Administer Wiki"
27 1. Click on the "Users" link to bring up an overview of all the users
28 1. Click on the name of the user for which you want to change the password (this will take you to the user's profile page)
29 1. Click on the "Preferences" tab
30 1. Click on the "Change Password" button
31 1. Enter the new password twice
Dmitry Bakbardin 56.1 32 1. Click on the "Update" button(((
Silvia Macovei 52.4 33 {{image reference="ChangePassword.png"/}}
Vincent Massol 57.1 34
Manuel Smeria 52.5 35 {{warning}}
36 Don't forget to notify the user!
37 {{/warning}}
38 )))
Silvia Macovei 52.3 39
Silvia Macovei 44.2 40 == Changing the password for the logged in user ==
JanEldenmalm 1.23 41
Manuel Smeria 52.5 42 To change **your own password** follow these steps:
Silvia Macovei 44.1 43
Manuel Smeria 52.5 44 1. Click on your user name in the top right corner of the screen (this will redirect you to your profile)
45 1. Click on the "Preferences" tab
46 1. Click on the "Change password" button
Thomas Delafosse 58.1 47 1. Enter your current password and the new password twice
Dmitry Bakbardin 56.1 48 1. Click on the "Update" button(((
Thomas Delafosse 58.1 49 {{image reference="ChangeOwnPassword.png"/}}
Manuel Smeria 52.5 50 )))
EvelinaSlatineanu 32.1 51
Silvia Macovei 44.2 52 = Editing an existing user =
JanEldenmalm 1.14 53
Manuel Smeria 52.5 54 1. Log in as an administrator
55 1. Hover over "Wiki" and click on "Administer Wiki"
56 1. Click on the "Users" link to bring up an overview of all the users
EvelinaSlatineanu 10.1 57 1. You have two options:
Manuel Smeria 52.5 58 11. Click the user name for the user you want to edit
59 11*. On the user's profile page click on the small yellow pencil corresponding to the information you want to edit (profile or preferences)
60 11*. Click "Save and View" to save the changes you have made
61 11. Click on the small yellow pencil near the user you want to edit (this will open up a lightbox with the main information of that user)
Dmitry Bakbardin 56.1 62 11*. Make your modifications and click "Save"(((
Manuel Smeria 52.5 63 {{info}}
64 There is also a link to the complete user profile, where you can proceed as above (first option).
65 {{/info}}
Vincent Massol 57.1 66
Silvia Macovei 52.4 67 {{image reference="EditUserProfile.png"/}}
Manuel Smeria 52.5 68 )))
EvelinaSlatineanu 30.1 69
Silvia Macovei 44.2 70 = Deleting a user =
JanEldenmalm 1.25 71
Manuel Smeria 52.5 72 1. Log in as an administrator
73 1. Hover over "Wiki" and click on "Administer Wiki"
74 1. Click on the "Users" link to bring up an overview of all the users
Dmitry Bakbardin 56.1 75 1. Delete the user by clicking the red "X" corresponding to the user you want to delete (the user will be automatically removed from all the groups it belonged to)(((
Silvia Macovei 44.1 76 {{info}}
Manuel Smeria 52.5 77 You won't be able to delete the currently logged in user and you'll need to log-in using other credentials. This is don in order to prevent mistakes.
Silvia Macovei 44.1 78 {{/info}}
Vincent Massol 57.1 79
Silvia Macovei 52.4 80 {{image reference="DeleteUser.png"/}}
Manuel Smeria 52.5 81 )))
EvelinaSlatineanu 31.1 82
AdrianFita 51.1 83 = Modify the number of users displayed in the list =
Silvia Macovei 52.3 84
AdrianFita 51.1 85 This is valid as of v3.5 (I think it works on any 3.x version).
86
Manuel Smeria 52.5 87 You have to edit ##XWiki.AdminUsersSheet## for users. The page contains a line like this:
AdrianFita 51.1 88
89 {{code}}
90 var ta = new XWiki.widgets.LiveTable("$url", "userstable", callback);
91 {{/code}}
92
Manuel Smeria 52.5 93 Replace it with:
AdrianFita 51.1 94
95 {{code}}
96 var ta = new XWiki.widgets.LiveTable("$url", "userstable", callback, {limit: 100});
97 {{/code}}
98
99 where 100 is the number of items displayed per page.
100
Silvia Macovei 44.2 101 = Customizing the Registration page =
102
Silvia Macovei 44.1 103 {{info}}
Manuel Smeria 52.5 104 Since [[XWiki Exterprise 2.2M2>>xwiki:ReleaseNotes.ReleaseNotesXWikiEnterprise22M2#HNewRegistrationpage]] customizing the registration page is done by the "Verified Registration" Page, part of the [[Administration Application>>extensions:Extension.Administration Application]]. This provides more features such as captcha and client side validation of user input. For more information about how to configure it, visit the [[application page>>extensions:Extension.Administration Application]].
Silvia Macovei 44.1 105 {{/info}}
Caleb James DeLisle 43.1 106
Manuel Smeria 52.5 107 In order to customize the registration page you must follow these steps:
Silvia Macovei 44.1 108
Manuel Smeria 52.5 109 1. Log in as an administrator
110 1. Hover over "Wiki" and click on "Administer Wiki"
111 1. Click on the "Registration" link
Dmitry Bakbardin 56.1 112 1. Make your modifications and click "Save":(((
Manuel Smeria 52.5 113 {{image reference="Registration.png"/}}
114 )))
Dmitry Bakbardin 56.1 115
116 {{error}}
117 Be sure to fill in admin's e-mail in Administration -> Configuration -> Email. Otherwise XWiki prior 4.5 won't send verification e-mails while E-mail verification is on.
118 {{/error}}

Get Connected