Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2442

isUserNestedGroupMember iterates children, should iterate parents

    • Icon: Bug Bug
    • Resolution: Timed out
    • Icon: Low Low
    • None
    • 2.1
    • None

      The DirectoryManagerGeneric.isUserNestedGroupMember iterates nested groups downwards from the target group, rather than upward from the starting user, which requires significantly more DAO operations (many of which are not currently cached in Confluence). It should instead iterate upward from the direct memberships of the user, and then the memberships of those groups. This will allow the isUserDirectGroupMember/isGroupDirectGroupMember calls to reuse the same cached data as the recursive calls do. This will also make the cached values much smaller, and less likely to become invalidated on a sync, since they will be the short list of groups a user or group is in, rather than the potentially vast list of groups or users that are in a group.

            [CWD-2442] isUserNestedGroupMember iterates children, should iterate parents

            No work has yet been logged on this issue.

              Unassigned Unassigned
              richatkins Richard Atkins
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: