Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15360

Ldap group membership not updated without a restart

      steps to reproduce

      1. Integrate bamboo with LDAP
      2. Configure the ldap caching so that the cache got refreshed every 20s for example
      3. Now create a group and associate a user to it
      4. The group will be created and the user associated as expected
      5. Now remove the user from the group and wait for the cache to run

      Expected behaviour
      Bamboo should remove the user from the group as well

      Current behaviour
      The user is still associated to the group and only a restart will remove the group association from the user. This only affects group membership as user details and creation of new groups get updated immediately. It appears this properties " LDAPGroupManagerReadOnly..groups_hasMembership and LDAPGroupManagerReadOnly..groups_getGroupsForUser" are ignored by the cache.

      There is no error in the logs even when the "com.atlassian.user" class is set to DEBUG

            [BAM-15360] Ldap group membership not updated without a restart

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 101266 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1436988 ] New: JAC Bug Workflow v3 [ 3384450 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Piotr Swiecicki made changes -
            Link New: This issue is related to BAM-18701 [ BAM-18701 ]
            Daniel R made changes -
            Description Original: *steps to reproduce*
            # Integrate bamboo with LDAP
            # Configure the [ldap caching|https://confluence.atlassian.com/display/BAMBOO020/5.13.2.1+Configuring+the+Caching+of+your+LDAP+Repository] so that the cache got refreshed every 20s for example
            # Now create a group and associate a user to it
            # The group will be created and the user associated as expected
            # Now remove the user from the group and wait for the cache to run

            *Expected behaviour*
            Bamboo should remove the user from the group as well

            *Current behaviour*
            The user is still associated to the group and only a restart will remove the group association from the user. This only affects group membership as user details and creation of new groups get updated immediately. It appears this properties " LDAPGroupManagerReadOnly.*.groups_hasMembership and LDAPGroupManagerReadOnly.*.groups_getGroupsForUser" are ignored by the cache.

            There is no error in the logs even when the "com.atlassian.user" class is set to DEBUG
            New: *steps to reproduce*
            # Integrate bamboo with LDAP
            # Configure the [ldap caching|https://confluence.atlassian.com/display/BAMBOO/Configuring+the+caching+of+your+LDAP+repository] so that the cache got refreshed every 20s for example
            # Now create a group and associate a user to it
            # The group will be created and the user associated as expected
            # Now remove the user from the group and wait for the cache to run

            *Expected behaviour*
            Bamboo should remove the user from the group as well

            *Current behaviour*
            The user is still associated to the group and only a restart will remove the group association from the user. This only affects group membership as user details and creation of new groups get updated immediately. It appears this properties " LDAPGroupManagerReadOnly.*.groups_hasMembership and LDAPGroupManagerReadOnly.*.groups_getGroupsForUser" are ignored by the cache.

            There is no error in the logs even when the "com.atlassian.user" class is set to DEBUG
            James Giles IV (Inactive) made changes -
            Link New: This issue is related to BAM-17857 [ BAM-17857 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1420606 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1436988 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 785884 ] New: Bamboo Workflow 2016 v1 [ 1420606 ]
            Joe Clark made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 101266 ] New: This issue links to "Page (Atlassian Documentation)" [ 101266 ]
            Carlen Benard (Inactive) made changes -
            Link New: This issue is duplicated by BAM-15860 [ BAM-15860 ]
            Rafael Sperafico (Inactive) made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 101266 ]

              Unassigned Unassigned
              smaiyaki Sultan Maiyaki (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: