Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-63095

GroupManager API cache is not invalidated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.2.2
    • Java API

      When checking groups with the GroupManager method multiple times in the same request, while the change is reflected towards the database, the cache is invalidated still.

      In such case, the caches should be invalidated when the method is used to edit user groups.

      Steps to reproduce:

      • add user Charlie to group one
      • check if Charlie is in group one using method com.atlassian.jira.security.groups.GroupManager#isUserInGroup
      • remove Charlie from group one
      • again check if Charlie is in group one using the same method

      Expected result:

      Charlie is not marked as a user of group one

      Actual result:

      Charlie is marked as a user of one

      Root cause:

      RequestCachingGroupManager does not invalidate caches on removal user from group.

              Unassigned Unassigned
              jrahmadiputra Julian (Inactive)
              Votes:
              14 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated: