This first step is meant to allow creation of accounts, the management of account desactivation is done in story #8545.
In this first step, accounts will be create but will have ACTIVE status (hence it's not meant to be used in production).
The proposal is to deal with user accounts before and after the import process:
- At export time, the export tool create a "users.xml" file along project.xml in archive, this file contains informations about users exported
- Informations gathered
- LdapID
- username
- real name
- email
- This list is built as a post processing of project.xml
- At import time
- add a new temporary option --force-create-all-users-active
- if this option is used, compute and display the list of user accounts that need to be created and/or activated
- if accepted (admin type Yes in console) user accounts are created (or activated if already existing) with random password (so user cannot login)
- The import process is done as usual
- no email is sent to "temporary" users.