This tutorial teaches how to create new users in ERP5. The difference between Person and User is that a Person in ERP5 holds information related to an individual which is relevant to your organisation (for example a prospect, client supplier or employee) while a User has access to your ERP5 instance. The permissions, a user has in ERP5 are defined by assignments.
During this tutorial, you will create two Users:
During this tutorial please replace "VIFIB" with your company name.
|<span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span>|
|<span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span>|
The process of creating a new User has three steps: Firstly, create and validate a Person who is the future User of your ERP5 instance. Secondly, add Assignment to this new User by using the Action item list. Finally, create User Account for this Person by using the Action item list. Then this new User can access to your ERP5 instance using the login and password you have set during the creation.
After reading the tutorial "How to create Persons", you can now try to create a new Person account for a staff of your company. In our case, we create an account for a VIFIB manager Cédric de Saint Martin, as shown in the screenshot.
Validate the Person you just created before going to next step.
Without the assignment, even you has added a user account to the person document, the person still won't be able to access your ERP5 instance.To start an assignment, open the Action item list and click on "Add Assignment" .
Now you are located in the Assignment document. Fill in the fields and save the data.
Note: there two important fields to fill up. First, you must select the Group for the Assignment, and the Group must be your company, otherwise the User won't be able to access your ERP5 instance . Second, fill carefully the Assignment Start Date and Stop Date. The Assignment is only valid in the defined interval , which means the User can only login your ERP5 instance in the defined interval.
|verifyText||//div[@id="information_area"]||Input data has errors. Please look at the error messages below.|
|verifyText||//span[@class="error"]||No such document was found.|
|verifyTextNotPresent||Input data has errors. Please look at the error messages below.|
After adding an Assignment to the new User, you have to start the Assignment, if not, the User account will not work. Open Action item list and click on "Start Assignment" .
After the status changed to "Started", you can continue next step: Create User.
To create a User account for this Person, go back to the Person and open Action item list and click on "Create User".
Fill the dialog box with the User Login and the Password you set for this new User to access to your ERP5 instance. Then click on "Create User".
Try to log in your ERP5 instance with the new User Login and Password.
Note: It is important to remember the three steps must be performed correctly. Don't forget to Validate the person you created and to Start Assignment . Otherwise it won't be possible to connect to ERP5 using the user created.
Now that your learned how to create a user, please create a second user "Yingjie Xu". This user will be required to do the following tutorials. Make sure that you create the Person, the Assignment, start the Assignment and create the user account just like you did it for Cédric but using the information presented in this slide.