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

Provide an option to configure auto updating users when using LDAP Delegated Users Directory

    XMLWordPrintable

Details

    Description

      We use Delegated LDAP, it creates users on logon, but if you setup email manualy in profile, then logoff and logon again, Stash will clean email from profile.

      Our LDAP is using only for authorization and contains only login and Full Name, but email did not contains.

      Proposed solution

      We add a new option (radio box) to the Stash Authentication UI:

      • Copy new users on login. Set "crowd.delegated.directory.auto.update.user" to false
      • Copy new users and changes to existing users on login. Set "crowd.delegated.directory.auto.update.user" to true

      And then, when "Copy new users and changes to existing users on login" option is chosen, the user metadata (full name, email, password etc) should not be editable (since this data will be lost next time the user logs in).
      This will fix https://jira.atlassian.com/browse/STASH-7332 as well.

      Attachments

        Issue Links

          Activity

            People

              abrokes Adam Brokes
              3652ed9ede2e Alexey Efimov
              Votes:
              17 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: