diff --git a/src/explore-education-statistics-admin/src/pages/bau/BauUsersPage.tsx b/src/explore-education-statistics-admin/src/pages/bau/BauUsersPage.tsx index ed4bfb5d03..9a457b64b8 100644 --- a/src/explore-education-statistics-admin/src/pages/bau/BauUsersPage.tsx +++ b/src/explore-education-statistics-admin/src/pages/bau/BauUsersPage.tsx @@ -9,7 +9,8 @@ import styles from './BauUsersPage.module.scss'; const BauUsersPage = () => { const { value, isLoading } = useAsyncRetry(() => userService.getUsers()); - // const handleDeleteUser = async (userEmail: string) => { // EES-5573 + // EES-5573 + // const handleDeleteUser = async (userEmail: string) => { // await userService // .deleteUser(userEmail) // .then(() => { @@ -56,12 +57,23 @@ const BauUsersPage = () => { Manage {/* EES-5573 */} - {/* handleDeleteUser(user.email)} */} - {/* className={styles.deleteUserButton} */} - {/* > */} - {/* Delete */} - {/* */} + {/* + Delete + + } + onConfirm={async () => await handleDeleteUser(user.email)} + > +

+ By deleting this User you will remove all access and + permissions they have on the service. This change cannot + be reversed. Users who are removed and then need access + at a later point will need to be re-invited to the + service as a new user. +

+
*/} ))}