User Tools

Site Tools


medal-data-administrator-guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
medal-data-administrator-guide [2021/12/17 15:38] arnaud_polettomedal-data-administrator-guide [2022/01/10 14:56] (current) – removed arnaud_poletto
Line 1: Line 1:
-====== 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: 
-<code> 
-php artisan 2fa:authenticate_all --send_email 
-</code> 
-, 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: \\ <code> 
-php artisan 2fa:reauthenticate --send_email 
-</code> 
-  - 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''. 
  
medal-data-administrator-guide.1639751936.txt.gz · Last modified: 2021/12/17 15:38 by arnaud_poletto