Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.8.8, 2.9.5, 2.11.0
-
10
-
Severity 3 - Minor
-
8
-
Description
If nested groups are enabled, when we recursively search for groups a user/group is in, we iterate groups at each level one by one, searching for its parents. Instead, we should query multiple groups at one (with some limit, to avoid blowing up DB with a huge query).
See
- com.atlassian.crowd.manager.directory.RemoteDirectorySearcher#findNestedGroupMembershipsIncludingGroups
- com.atlassian.crowd.manager.directory.RemoteDirectorySearcher#isUserIndirectGroupMember