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

Computed groups are not searchable in Admin Center

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6-SNAPSHOT
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: None

      Description

      Group search in Admin Center does not return computed groups.
      Indeed, in GroupsPageProvider, the searchGroups() method calls the following stack:

      UserManagerImpl#searchGroups(String pattern)
      UserManagerImpl#searchGroups(String pattern, DocumentModel context)
      UserManagerImpl#searchGroups(Map<String, Serializable> filter, Set<String> fulltext, DocumentModel context)
      Session#query(filter, fulltextClone, getGroupSortMap(), false);
      

      So it never goes into the method that searches for computed groups:

      UserManagerWithComputedGroups#searchGroups(Map<String, Serializable> filter, Set<String> fulltext)
      

      Nevertheless, there is no problem while searching for groups in the rights management tab:

      UserSuggestionActionsBean#getGroupsSuggestions(Object input)
      UserManagerWithComputedGroups#searchGroups(Map<String, Serializable> filter, Set<String> fulltext)
      

        Attachments

          Activity

            People

            • Assignee:
              ataillefer Antoine Taillefer
              Reporter:
              ataillefer Antoine Taillefer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 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 - 1 hour
                1h