- 3.4Users
- 3.4.1Create a user
- 3.4.2Import users from a file
3.4Users
In this section, all the users created in Lavagna are listed.
For each user, the following information are visible:
- Account provider: what provides the account and authenticates it.
- Username: the unique identifier for the user within the account provider, and the unique identified in Lavagna as well. Has to be unique.
- Email: the email address where to send notifications
- Display name: the name displayed around the application, doesn’t have to be unique.
- Enabled: whether the user can or cannot use Lavagna
While the users are paginated by 20, it’s also possible to filter the results. The search query will apply to provider, username, email, and displayName. A maximum of 10 results will be displayed.
3.4.1Create a user
To create a new user, click on Add user, and fill the form with the right data.
All the roles available globally will be listed in the form.
3.4.2Import users from a file
It is also possible to save time and import a large set of user from a JSON formatted file.
The format has to be:
[
{
“provider” : "“,
”username“ : ”“,
”displayName“ : ”“,
”email“ : ”“,
”enabled“ : true|false,
”roles" : []
},
…
]
Only provider and username are mandatory at this point.
To then import the file, click on Import, select the file, and click Import.
A notification will appear in the lower left corner with the result of the operation.