User Management
Adding users to your wiki
- Log in as an administrator
- Hover over "Wiki" and click on "Administer Wiki"
- Click on the "Users" link to bring up an overview of all the users
- Click on the "Add new user" button to open a registration page as shown on the image below
- Fill in the user information
- Click "Save":
Changing a user's password
Changing the password for any user
- Log in as an administrator
- Open the drawer and click on "User Index"
- 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)
- Click on the "Preferences" tab
- Click on the "Change Password" button
- Enter the new password twice
- Click on the "Update" button
Changing the password for the logged in user
To change your own password follow these steps:
- Click on your user avatar in the top right corner of the screen (this will redirect you to your profile)
- Click on the "Preferences" tab
- Click on the "Change password" button
- XWiki 5.1+ Enter your current password
- Enter the new password twice
- Click on the "Save" button
Changing the password security policy
You can define the password security for all the users of the wiki. The policy is defined by some rules available in the Administration > Users & Rights > Registration page. You can specify the minimum length of the password, and if it must contain numbers, lower/upper case characters, and symbol.
Please note that when the rules are changed, all further password changes must comply with the new rules, but the older password are still all valid.
Editing an existing user
- Log in as an administrator
- Hover over "Wiki" and click on "Administer Wiki"
- Click on the "Users" link to bring up an overview of all the users
- You have two options:
- Click the user name for the user you want to edit
- On the user's profile page click on the small yellow pencil corresponding to the information you want to edit (profile or preferences)
- Click "Save and View" to save the changes you have made
- 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)
- Make your modifications and click "Save"
- Make your modifications and click "Save"
- Click the user name for the user you want to edit
Deleting a user
- Log in as an administrator
- Go to the User section of the Wiki administration
- 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)
Modify the number of users displayed in the list
Edit the XWiki.AdminUsersSheet page. It contains a line like this:
Replace it with:
where 100 is the number of items displayed per page.
Customizing the Registration page
Customizing the registration page 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.
In order to customize the registration page you must follow these steps:
- Log in as an administrator
- Click on the right drawer icon, then click on "Administer Wiki"
- Go to "Users & Rights" > "Registration"
- Make your modifications and click "Save":
Enable/Disable User Account
It is possible to disable a user account and to enable it back from his/her profile. A disabled user is able to login but cannot perform any action once logged-in.
From the administration
- Log in as an administrator
- Go to the User section of the Wiki administration
- Click on the closed lock to disable a user
To enable a user, follow the same steps but click on the opened lock.
From a user profile
- Login an an administrator
- Visit a user profile
- Click on the "Disable this account" action.
To enable a user, follow the same step but click on the "Enable this account" action.
Inactive Users
If you configured the registration page to enable the Use Email Verification, then new registered users are by default inactive. The user account is activated by a link on the email. (See more information in Administration Application).
Inactive users are prevented to get access to most pages of the wiki by default. The pages they can get access to can be configured in the configuration. Prior to that, the Authentication Active Check must be enabled in order for inactive users to get access to the wiki.
User Storage
Users are stored inside wiki pages containing an XObject of the XWiki.XWikiUsers XClass. To see all the user metadata, you can navigate to the profile page of a user and edit it using the Object editor.