Mixed case group names break the connection between JIRA and LDAP for User Management

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 8.22.4
    • None
    • 8.22
    • 1
    • Severity 2 - Major

      Issue Summary

      Mixed case group names break the connection between JIRA and LDAP for User Management. This occurs when LDAP is connected via Crowd with the "Lower case output" option enabled in Crowd.
      All the groups are synced with Jira as lower case group names. However, when the option is unchecked the Jira database is not updated again.
      This breaks Global Permissions and Advanced Roadmaps permission
      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Install Jira
      2. Install Crowd
      3. Setup an LDAP Server
      4. Create a group in LDAP Server with mixed cases
      5. Conncet the LDAP with Crowd
      6. Connect Jira with Crowd and while adding the application check the "Lower case output" option in Crowd.
      7. Add the Groups for this Application in Crowd
      8. In Jira, add this under User Directory and sync
      9. Notice that the group is added with all lower case letters.
      10. Add this group to Global Permissions in Jira.
      11. In Crowd uncheck the "Lower case output" option.
      12. Run a directory sync in Jira and notice that the group name does not change.
      13. Disable Crowd and connect the Jita to LDAP directly.
      14. Notice that the Global Permission for this group will not work anymore

      Expected Results

      Global Permissions should not consider group_name rather than consider lower_group_name from cwd_group table

      Actual Results

      Due to mixed cases, the Global Permissions do not work correctly, and thus the Advanced Roadmaps fail

      Workaround

      Update the groups under Global Permissions manually and switch them from Crowd to LDAP

            Assignee:
            Unassigned
            Reporter:
            skavatekar
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: