Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23085

Fix UserGroup.Suggestion operation when a group is set with the groupRestriction parameter

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Group restriction is working with the operation UserGroup.Suggestion.
    • Backlog priority:
      600
    • Sprint:
      nxFG 10.3.3, nxFG 10.3.4, nxFG 10.3.5, nxFG 10.3.7, nxFG 10.3.8, nxFG 10.3.10
    • Story Points:
      8

      Description

      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:

      1. The user directory contains 50 000 entries and is configured with a querySizeLimit set to 50.
      2. The user suggestion widget is configured to return results when 0 character is typed and has the groupRestriction
      3. None of the 50 first entries in the user directory corresponds to a user which belongs to the restricted group
      4. A user clicks on the user suggestion widget
      5. 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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h