User Tools

Site Tools


medal-data:administrator-guide

This is an old revision of the document!


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:

  1. From the home page, go to Admin Corner > Users Management.
  2. Look for the desired user, and click Reset Password.
  3. A popup will appear: click on Reset.
  4. 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. Press Enter.

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:

  1. Run the command:
    php artisan 2fa:reauthenticate --send_email
  2. Enter the user's email address and press Enter.
  3. Confirm by typing yes. Press Enter.

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:

  1. From the home page, go to Admin Corner > Users Management.
  2. Look for the desired user, and click on Edit.
  3. Under Roles choose the role to add to the user.
  4. Click on Update.
medal-data/administrator-guide.1641822936.txt.gz · Last modified: 2022/01/10 14:55 by arnaud_poletto