diff --git a/frontend/src/component/admin/groups/Group/RemoveGroupUser/RemoveGroupUser.tsx b/frontend/src/component/admin/groups/Group/RemoveGroupUser/RemoveGroupUser.tsx index 5e8faf6ac2..1a1159c9fb 100644 --- a/frontend/src/component/admin/groups/Group/RemoveGroupUser/RemoveGroupUser.tsx +++ b/frontend/src/component/admin/groups/Group/RemoveGroupUser/RemoveGroupUser.tsx @@ -47,23 +47,22 @@ export const RemoveGroupUser: FC = ({ } }; + const userName = user?.name || user?.username || user?.email; return ( { setOpen(false); }} - title="Remove user from group" + title="Remove user from group?" > - Are you sure you wish to remove{' '} - {user?.name || user?.username || user?.email}{' '} - from {group.name}? Removing the user from this - group may also remove their access from projects this group is - assigned to. + Do you really want to remove {userName} from{' '} + {group.name}? {userName} will + lose all access rights granted by this group. ); diff --git a/frontend/src/component/admin/groups/RemoveGroup/RemoveGroup.tsx b/frontend/src/component/admin/groups/RemoveGroup/RemoveGroup.tsx index 3dfed93853..d6f1544697 100644 --- a/frontend/src/component/admin/groups/RemoveGroup/RemoveGroup.tsx +++ b/frontend/src/component/admin/groups/RemoveGroup/RemoveGroup.tsx @@ -42,18 +42,18 @@ export const RemoveGroup: FC = ({ return ( { setOpen(false); }} - title="Delete group" + title="Delete group?" > - Are you sure you wish to delete {group.name}? - If this group is currently assigned to one or more projects then - users belonging to this group may lose access to those projects. + Do you really want to delete {group.name}? + Users who are granted access to projects only via this group + will lose access to those projects. );