Malfunction of group deletion affects Permission and Notification schemes

XMLWordPrintable

    • 3.06

      GenericDelegator's findByAnd which is invoked in the midst of group deletion for permissions and notifications removal does not distinguish the case-sensitivity of the parameter, provided that the JIRA is running on top of MySQL, e.g.

      ManagerFactory.getPermissionManager().removeGroupPermissions(group.getName());
      -> ManagerFactory.getPermissionSchemeManager().removeEntities(group);
      -> -> CoreFactory.getGenericDelegator().findByAnd(getEntityName(), EasyMap.build("parameter", parameter));
      

      This produces malfunction to the process, i.e. schemes of another group will be deleted instead.

            Assignee:
            Unassigned
            Reporter:
            Mei Yan Chan [Atlassian]
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: