97183 Tests for findItemsWithEdit and countItemsWithEdit methods of ItemServiceImpl

This commit is contained in:
Koen Pauwels
2023-01-17 16:14:42 +01:00
parent 7ee46e0cba
commit 9534b7893e
2 changed files with 83 additions and 2 deletions

View File

@@ -1076,9 +1076,9 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
}
/**
* Finds all Indexed Items where the current user has submit rights. If the user is an Admin,
* Finds all Indexed Items where the current user has edit rights. If the user is an Admin,
* this is all Indexed Items. Otherwise, it includes those Items where
* an indexed "submit" policy lists either the eperson or one of the eperson's groups
* an indexed "edit" policy lists either the eperson or one of the eperson's groups
*
* @param context DSpace context
* @param discoverQuery