dspace-angular
dspace-angular copied to clipboard
Difficult to find users to delete from group in large groups
References
- Fixes #2869
- Requires Backend PR: https://github.com/DSpace/DSpace/pull/9793
Description -
- The list of current members on the edit group page is searchable now;
- Edit EPerson page allows (admins) to delete person from groups it is a member of without having to go to that group page.
List of changes in this PR:
-
For searching the current editing group members (includes frontend and backend task) :- a) - In the Frontend, we have added a search form; b) - In the Backend, we have added a search method("findIsMemberOf") that receives current editing group id and query parameter which searches in the current member's list of the editing group;
-
For deleting the eperson from groups (includes only frontend task) :- a) - We have only added an extra column in the edit eperson page for giving remove button; b) - We are utilizing the same api created for unlinking an eperson from the group in the edit group page;
Steps to reproduce:-
Task 1- Search option in the group edit page (in current epeople members section)
- Login as admin user
- Go to Access Control option in the side pannel
- Then go to Groups section in the Access Control
- Then choose a group to edit and enter into the edit group screen
- In the current members of EPeople section, now you will get a search option to search a member
Task 2- Remove button in the particular EPeople edit page
- Login as admin user
- Go to Access Control option in the side pannel
- Then go to People section in the Access Control
- Then choose a epeople to edit and enter into the edit epeople screen
- At the bottom, in the "Member of these groups" section, now you will find remove button corresponding to each group