This is an old revision of the document!
Table of Contents
medAL-data Administrator Guide
This page gathers all the informations needed to use the medAL-data web application as an administrator.
Reset a user's password
Follow these steps to reset a user's password:
- From the home page, go to
Admin Corner
>Users Management
. - Look for the desired user, and click
Reset Password
. - A popup will appear: click on
Reset
. - An email should be sent to the user to reset its password.
Two-Factor authentication
Generate secrets for all users
It may happen that some users do not have two-factor authentication enabled on their account (mainly due to accounts created before the medAL-data update adding this implementation).To generate secrets for users that do not yet have two-factor authentication enabled, run:
php artisan 2fa:authenticate_all --send_email
, and confirm by typing yes
.
Users should receive their code via email.
Generate user's new secret
To refresh a new two-factor authentication secret for a given user, follow these steps:
- Run the command:
php artisan 2fa:reauthenticate --send_email
- Enter the user's email address and press Enter.
- Confirm by typing
yes
.
The new code should be printed, and the user should receive their new code via email.
Roles and permissions
Assign a role to a user
To assign a role to a user, follow these steps:
- From the home page, go to
Admin Corner
>Users Management
. - Look for the desired user, and click on
Edit
. - Under
Roles
choose the role to add to the user. - Click on
Update
.