7 - Create an administrator account
All users in the HCMS Client are synched with the censhare server (as any other asset). The casual user management can be done directly in the HCMS Client, but the administrator account needs to be managed on the censhare server.
Prerequisites
You do not need to have admin rights for the censhare system. You will be given rights to modify assets in the domain you specified on the previous steps.
There are two worfklows depending on if you set up an SMTP server before or not.
If you have an SMTP server, you can confirm your registration by using the email confirmation normally.
If you do not have an SMTP server, you won't get any confirmations email, but there is a simple workaround using the censhare server and the Java Client.
Find user id
For this, you need to activate logging for the HCMS CSK container as explained here before following the workflow below. In the logs, find the user creation request and the HCMS response, then copy the id of the created asset. (Just id
in the JSON response).
User registration with email confirmation
Register new account by standard procedure (link on the login page, confirm by email)
Log in to the application and go to the personal settings; url now contains user's id at the very end (for example:
https://sampleportal1.dev.portal.censhare.io/#/person/114021
)Use Java Client to connect to the censhare server.
Find the user asset by its id.
"Edit metadata", tab "Features", edit "HCMS Account Roles Granted" values
Change existing value
person_read
toperson_full
Add new "HCMS Account Roles Granted" feature, with value
management_full
Log out of the application and log in again.
User registration without email confirmation
Click the link on the login page and fill out the form.
Connect to the censhare server using a Java Client.
Search for the id.
On the asset, right-click on it and select "Edit metadata".
On the "Features" tab:
Expand "Features"
Find
Portal:User Confirmation Key
Delete this feature
This will make the user confirmed.