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

LDAP user can't be removed from group(s), if the user doesn't exist in LDAP repository.

    XMLWordPrintable

Details

    Description

      If an LDAP user is removed from the repository before to deleting him from a local Bamboo group (eg: Bamboo-Admin) then the operation fails with

      Build: 801
      Build Date: Apr 14, 2008
      
      Stack Trace:
      
      java.lang.IllegalArgumentException: User unknown: [null] in [hibernateRepository]
      at com.atlassian.user.impl.hibernate.HibernateGroupManager.validateGroupAndUser(HibernateGroupManager.java:457)
      at com.atlassian.user.impl.hibernate.HibernateGroupManager.removeMembership(HibernateGroupManager.java:479)
      at com.atlassian.user.impl.delegation.DelegatingGroupManagerTemplate.removeMembership(DelegatingGroupManagerTemplate.java:211)
      at bucket.user.DefaultUserAccessor.removeMembership(DefaultUserAccessor.java:532)
      at com.atlassian.bamboo.user.BambooUserManagerImpl.setMembership(BambooUserManagerImpl.java:330)

      We should make sure that, as long as LDAP user belongs to a local Bamboo group - he can be deleted from the group (regardless of whether or not he exists in the LDAP repository.)

      Reported in https://support.atlassian.com/browse/BSP-840

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asridhar AjayA
              Votes:
              9 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: