Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-26529

The "local" column in the cwd_group table does not update according to the LDAP permissions set for the LDAP directory associated with the groups.​

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 10.3.9, 11.0.1
    • None

      Issue Summary

      The column value of "local" associated with the table "cwd_group" is not updating.
      The "local" column in the cwd_group table of a Jira Data Center instance indicates whether a group is a local Jira group. Specifically, if the value of the "local" column is set to 1, it means the group is considered a local group within Jira. This is important when managing group memberships synchronized with external directories like Active Directory or LDAP.

      In this case, the value in the local column is set to 0. Updating the LDAP permissions does not change the local column's value to 1.

      Steps to Reproduce

      1. Spin up a Jira Software application on any supported version
      2. Navigate to > User management > User directories .
      3. Create a new LDAP directory by clicking "Add directory"
      4. Set the LDAP permissions to "Read Only, with Local Groups" or "Read/Write"
      5. Once done, try to add a user to the group.

      Expected Results

      The user successfully adds to the group.

      Actual Results

      Adding the user to the group fails with the following exception.

      Note: During my testing, I encountered a scenario in which the user addition works irrespective of the value of the "local" group.

      Workaround

      The workaround is to update the DB column "local" value of the table cwd_group manually from 0 to 1.
      Take a valid database backup before proceeding with the database update, as direct database updates are not recommended.

        1. image-2025-09-11-18-39-56-329.png
          74 kB
          Vaisakh S
        2. image-2025-09-11-18-40-16-504.png
          34 kB
          Vaisakh S

              Unassigned Unassigned
              e6507c4d83bb Vaisakh S
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: