Skip to content
Snippets Groups Projects
Commit 28be9eff authored by Andrea Magnussen's avatar Andrea Magnussen
Browse files

Added additional comments to admin screens

parent 27e9f688
No related branches found
No related tags found
1 merge request!70Resolve "Add comments to all files"
......@@ -9,7 +9,8 @@ import { toastError, toast500 } from "../../constants/toasts";
import { Colors } from "react-native-paper"
/**
* This component renders the screen where an administrator can manage accepted users in the system. The admin can revoke users access,
* This component renders the screen where an administrator can manage accepted users in the system. To access this screen,
* The admin has to re-authenticate, as it is about handling sensitive data. The admin can revoke users access,
* make users admin or remove admin privileges. It consists of a list containing users in the system, displaying their emails and an edit button.
* See ManageUser for more details.
*
......
......@@ -16,6 +16,7 @@ import { Colors } from "react-native-paper"
/**
* This component renders the screen where an administrator can look at pending user, who are waiting for access to the system.
* To access this screen, The admin has to re-authenticate, as it is about handling sensitive data.
* The admin can either accept or deny a user. If the admin denies a users access, the user will be deleted from the system, and has to make a new account
* at a later date. If the admin accepts a user, the user will gain access to all non-administrative features. The user can now be seen in manageUsersScreen.
* It consists of a list containing pending users in the system, displaying their emails and a button for denying access and a button for granting access.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment