-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 7.10
-
Fix Version/s: 10.3
-
Component/s: Automation, User Profile / User Manager
The UserGroup.Suggestion operation does not handle all the use cases when the groupRestriction parameter is set, in particular the case where the user directory contains many entries and the search on this directory returns only a slice of users, where none belongs to the group set with the groupRestriction parameter.
Example:
- The user directory contains 50 000 entries and is configured with a querySizeLimit set to 50.
- The user suggestion widget is configured to return results when 0 character is typed and has the groupRestriction
- None of the 50 first entries in the user directory corresponds to a user which belongs to the restricted group
- A user clicks on the user suggestion widget
- No entry is displayed
The expected behavior is to display the members of the group, and to limit the number of displayed items to the limit set on the user directory.
The implementation must be changed to filter the results from the group members first, and then to filter on the keyword filled by the end-user.
- is related to
-
NXP-26169 Fix operation 'UserGroup.Suggestion' returning no users if search term is empty
- Resolved
-
NXP-19262 Improved query API for directories
- Resolved
- is required by
-
ELEMENTS-856 Add Group filter parameter to nuxeo-user-suggestion widget
- Resolved