Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-9317

When a user from a LDAP delegated directory is added and/or removed to a group, no information is added to the audit log

    XMLWordPrintable

Details

    Description

      Summary

      When a user is added to a group, an information is added to the audit log. This is not the case when the user is from a Ldap delegated user directory.

      Steps to Reproduce

      1. Create a directory as Ldap delegated
      2. Create a user in this directory
      3. Add (or remove) the user to a group from the Internal User directory (or any other, e.g. a Ldap delegated one).

      Expected Results

      A line with the GroupMembershipCreatedEvent is added to the atlassian-bitbucket-audit.log when the user is added to the group.

      For example:

      192.168.56.1 | GroupMembershipCreatedEvent | admin_user | 1478836011970 | group | {"entity":"ldap_user","membership":"GROUP_USER"} | @XRXBANx886x3890x0 | i8rrld
      

      A line with the GroupMembershipDeletedEvent is added to the atlassian-bitbucket-audit.log when the user is deleted from the group.

      For example:

      192.168.56.1 | GroupMembershipDeletedEvent | admin_user | 1478836580427 | group | {"entity":"ldap_user","membership":"GROUP_USER"} | @XRXBANx896x3953x0 | i8rrld
      

      Actual Results

      No line is added to the audit log.

      Workaround

      No workaround is available.

      Attachments

        Issue Links

          Activity

            People

              crolf Christian
              ccurti Caterina Curti
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: