From version < 52.2 >
edited by Silvia Macovei
on 2012/03/13
To version < 52.3 >
edited by Silvia Macovei
on 2012/03/13
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,6 @@
1 -{{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
1 +{{box cssClass="floatinginfobox" title="**Contents**"}}
2 +{{toc/}}
3 +{{/box}}
2 2  
3 3  {{info}}
4 4  These instructions assume you're using XWiki 1.2 or later with **[[Albatross, Toucan or Colibri skins>>AdminGuide.Skins]]** (screenshots for Colibri).
... ... @@ -16,8 +16,8 @@
16 16  1. Click on **##Add new user##** button to open a registration page as shown on the image below.
17 17  1. Complete the user information and press the **##Save##** button.
18 18  
21 +[[image:AddUser.png||style="border:1px solid silver;"]]
19 19  
20 -[[image:AddUser.png||style="border:1px solid silver;]]
21 21  = Changing a user's password =
22 22  
23 23  == Changing the password for any user ==
... ... @@ -29,7 +29,8 @@
29 29  1. Go to my Preferences tab and click Change Password button.
30 30  1. Modify the password and click the **##Update##** button to save your change. Don't forget to tell the user!
31 31  
32 -[[image:ChangePassword.png||style="border:1px solid silver;]]
34 +[[image:ChangePassword.png||style="border:1px solid silver;"]]
35 +
33 33  == Changing the password for the logged in user ==
34 34  
35 35  To change **your own password**:
... ... @@ -38,7 +38,7 @@
38 38  1. Click on the Preferences tab and the click on **##Change password##** button.
39 39  1. Modify the password and click the **##Update##** button to save your change.
40 40  
41 -[[image:ChangePassword.png||style="border:1px solid silver;]]
44 +[[image:ChangePassword.png||style="border:1px solid silver;"]]
42 42  
43 43  = Editing an existing user =
44 44  
... ... @@ -54,8 +54,8 @@
54 54  11*. After your modifications press ##**Save**## to be redirected to the **Users** view.
55 55  11*. There is also a link to the complete user profile, where you can proceed as above (first option).
56 56  
60 +[[image:EditUserProfile.png||style="border:1px solid silver;"]]
57 57  
58 -[[image:EditUserProfile.png||style="border:1px solid silver;]]
59 59  = Deleting a user =
60 60  
61 61  1. Log in as an administrator.
... ... @@ -67,9 +67,10 @@
67 67  You won't be able to delete the currently logged in user and you'll need to log using other credentials. This is to prevent mistakes...
68 68  {{/info}}
69 69  
70 -[[image:DeleteUser.png||style="border:1px solid black;]]
73 +[[image:DeleteUser.png||style="border:1px solid silver;"]]
71 71  
72 72  = Modify the number of users displayed in the list =
76 +
73 73  This is valid as of v3.5 (I think it works on any 3.x version).
74 74  
75 75  You have to edit XWiki.AdminUsersSheet for users.

These instructions assume you're using XWiki 1.2 or later with Albatross, Toucan or Colibri skins (screenshots for Colibri).

Note: The default skin is currently Colibri.

Adding users to your wiki

  1. Log in as an administrator.
  2. Go to the administration page.  (Colibri: Select Wiki/Administer Wiki from top left of screen) (Toucan:  Select Administration link in the top right corner of the screen)
  3. Click on the Users icon to bring up an overview of all users.
  4. Click on Add new user button to open a registration page as shown on the image below.
  5. Complete the user information and press the Save button.

AddUser.png

Changing a user's password

Changing the password for any user

  1. Log in as an administrator.
  2. Go to the administration page.  (Colibri: Select Wiki/Administer Wiki from top left of screen) (Toucan:  Select Administration link in the top right corner of the screen)
  3. Click on the Users icon to bring up an overview of all users.
  4. Click on the name for the user for which to change the password. This lead you to the user's page.
  5. Go to my Preferences tab and click Change Password button.
  6. Modify the password and click the Update button to save your change. Don't forget to tell the user!

ChangePassword.png

Changing the password for the logged in user

To change your own password:

  1. Click on your user name in the top right corner of the screen. This will redirect you to your profile. 
  2. Click on the Preferences tab and the click on Change password button.
  3. Modify the password and click the Update button to save your change.

ChangePassword.png

Editing an existing user

  1. Log in as an administrator.
  2. Go to the administration page.  (Colibri: Select Wiki/Administer Wiki from top left of screen) (Toucan:  Select Administration link in the top right corner of the screen)
  3. Click on the Users icon to bring up an overview of all users.
  4. You have two options:
    1. Click the user name for the user to edit.
      • On the user's page click on the button corresponding to the information you want to edit (info, password, etc). This will open a page editing view containing the attributes than can be changed.
      • Click "Save and View" - to save the changes you have made.
    2. Click on the pencil icon near the user you want to edit.
      • This will open up a lightbox with the main information of that user, which you can edit in place.
      • After your modifications press Save to be redirected to the Users view.
      • There is also a link to the complete user profile, where you can proceed as above (first option).

EditUserProfile.png

Deleting a user

  1. Log in as an administrator.
  2. Go to the administration page.  (Colibri: Select Wiki/Administer Wiki from top left of screen) (Toucan:  Select Administration link in the top right corner of the screen)
  3. Click on the Users icon to bring up an overview of all users.
  4. Delete the user by using the X button for the user to delete. The user will automatically be removed from all the groups it belonged to.

You won't be able to delete the currently logged in user and you'll need to log using other credentials. This is to prevent mistakes...

DeleteUser.png

DeleteUser.png

Modify the number of users displayed in the list

This is valid as of v3.5 (I think it works on any 3.x version).

You have to edit XWiki.AdminUsersSheet for users.

The page contains a line like this:

var ta = new XWiki.widgets.LiveTable("$url", "userstable", callback);

Just replace it with:

var ta = new XWiki.widgets.LiveTable("$url", "userstable", callback, {limit: 100});

where 100 is the number of items displayed per page.

Customizing the Registration page

You can also customize the way users are registered in your XWiki by creating a XWiki.Registration page which will override the default registration page. 

Since 2.2M2 this is done by the Verified Registration Page, part of the 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.

If you don't know what to put in the page you can start by copying the content of http://yourserver/xwiki/templates/registerinline.vm  and paste it in your XWiki.Registration page. You'll have to be careful to remove the first test in the template or your registration page will loop forever:

#if(!$xwiki.hasAccessLevel("view","XWiki.Registration")||$xwiki.getDocument("XWiki.Registration").isNew())
[...] ## here is the code you want to keep
#else
$xwiki.getDocument("XWiki.Registration").getTranslatedDocument().getRenderedContent()
#end

Get Connected