Wiki source code of User Management
Version 53.1 by Manuel Smeria on 2012/12/14
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
52.3 | 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} |
2 | {{toc/}} | ||
3 | {{/box}} | ||
![]() |
44.1 | 4 | |
5 | {{info}} | ||
![]() |
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. | ||
![]() |
44.1 | 8 | {{/info}} |
![]() |
50.3 | 9 | |
![]() |
44.2 | 10 | = Adding users to your wiki = |
![]() |
1.1 | 11 | |
![]() |
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 | ||
17 | 1. Click "Save": | ||
18 | ((( | ||
![]() |
52.4 | 19 | {{image reference="AddUser.png"/}} |
![]() |
52.5 | 20 | ))) |
![]() |
48.1 | 21 | |
![]() |
44.2 | 22 | = Changing a user's password = |
![]() |
34.1 | 23 | |
![]() |
44.2 | 24 | == Changing the password for any user == |
![]() |
35.1 | 25 | |
![]() |
52.5 | 26 | 1. Log in as an administrator |
27 | 1. Hover over "Wiki" and click on "Administer Wiki" | ||
28 | 1. Click on the "Users" link to bring up an overview of all the users | ||
29 | 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) | ||
30 | 1. Click on the "Preferences" tab | ||
31 | 1. Click on the "Change Password" button | ||
32 | 1. Enter the new password twice | ||
33 | 1. Click on the "Update" button | ||
34 | ((( | ||
![]() |
52.4 | 35 | {{image reference="ChangePassword.png"/}} |
![]() |
52.5 | 36 | ))) |
37 | ((( | ||
38 | {{warning}} | ||
39 | Don't forget to notify the user! | ||
40 | {{/warning}} | ||
41 | ))) | ||
![]() |
52.3 | 42 | |
![]() |
44.2 | 43 | == Changing the password for the logged in user == |
![]() |
1.23 | 44 | |
![]() |
52.5 | 45 | To change **your own password** follow these steps: |
![]() |
44.1 | 46 | |
![]() |
52.5 | 47 | 1. Click on your user name in the top right corner of the screen (this will redirect you to your profile) |
48 | 1. Click on the "Preferences" tab | ||
49 | 1. Click on the "Change password" button | ||
50 | 1. Enter the new password twice | ||
51 | 1. Click on the "Update" button | ||
52 | ((( | ||
![]() |
52.4 | 53 | {{image reference="ChangePassword.png"/}} |
![]() |
52.5 | 54 | ))) |
![]() |
32.1 | 55 | |
![]() |
44.2 | 56 | = Editing an existing user = |
![]() |
1.14 | 57 | |
![]() |
52.5 | 58 | 1. Log in as an administrator |
59 | 1. Hover over "Wiki" and click on "Administer Wiki" | ||
60 | 1. Click on the "Users" link to bring up an overview of all the users | ||
![]() |
10.1 | 61 | 1. You have two options: |
![]() |
52.5 | 62 | 11. Click the user name for the user you want to edit |
63 | 11*. On the user's profile page click on the small yellow pencil corresponding to the information you want to edit (profile or preferences) | ||
64 | 11*. Click "Save and View" to save the changes you have made | ||
65 | 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) | ||
66 | 11*. Make your modifications and click "Save" | ||
67 | ((( | ||
68 | {{info}} | ||
69 | There is also a link to the complete user profile, where you can proceed as above (first option). | ||
70 | {{/info}} | ||
71 | ))) | ||
72 | ((( | ||
![]() |
52.4 | 73 | {{image reference="EditUserProfile.png"/}} |
![]() |
52.5 | 74 | ))) |
![]() |
30.1 | 75 | |
![]() |
44.2 | 76 | = Deleting a user = |
![]() |
1.25 | 77 | |
![]() |
52.5 | 78 | 1. Log in as an administrator |
79 | 1. Hover over "Wiki" and click on "Administer Wiki" | ||
80 | 1. Click on the "Users" link to bring up an overview of all the users | ||
81 | 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) | ||
82 | ((( | ||
![]() |
44.1 | 83 | {{info}} |
![]() |
52.5 | 84 | 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. |
![]() |
44.1 | 85 | {{/info}} |
![]() |
52.5 | 86 | ))) |
87 | ((( | ||
![]() |
52.4 | 88 | {{image reference="DeleteUser.png"/}} |
![]() |
52.5 | 89 | ))) |
![]() |
31.1 | 90 | |
![]() |
51.1 | 91 | = Modify the number of users displayed in the list = |
![]() |
52.3 | 92 | |
![]() |
51.1 | 93 | This is valid as of v3.5 (I think it works on any 3.x version). |
94 | |||
![]() |
52.5 | 95 | You have to edit ##XWiki.AdminUsersSheet## for users. The page contains a line like this: |
![]() |
51.1 | 96 | |
97 | {{code}} | ||
98 | var ta = new XWiki.widgets.LiveTable("$url", "userstable", callback); | ||
99 | {{/code}} | ||
100 | |||
![]() |
52.5 | 101 | Replace it with: |
![]() |
51.1 | 102 | |
103 | {{code}} | ||
104 | var ta = new XWiki.widgets.LiveTable("$url", "userstable", callback, {limit: 100}); | ||
105 | {{/code}} | ||
106 | |||
107 | where 100 is the number of items displayed per page. | ||
108 | |||
![]() |
44.2 | 109 | = Customizing the Registration page = |
110 | |||
![]() |
44.1 | 111 | {{info}} |
![]() |
52.5 | 112 | 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]]. |
![]() |
44.1 | 113 | {{/info}} |
![]() |
43.1 | 114 | |
![]() |
52.5 | 115 | In order to customize the registration page you must follow these steps: |
![]() |
44.1 | 116 | |
![]() |
52.5 | 117 | 1. Log in as an administrator |
118 | 1. Hover over "Wiki" and click on "Administer Wiki" | ||
119 | 1. Click on the "Registration" link | ||
120 | 1. Make your modifications and click "Save": | ||
121 | ((( | ||
122 | {{image reference="Registration.png"/}} | ||
123 | ))) |