Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-127989

Inactive portal users cannot be exported to LDAP

Details

    Description

      LPS-36213 prevent any user which is not in "approved" status from being exported to LDAP. This is too broad brush, because it then prevents "deactivated" users from being exported.

      This causes unexpected behavior when LDAP export is enabled to use portal to manage a LDAP directory. For example see scenario described in LPS-30516.

      Likewise, if both LDAP export & import is enabled, then users that are deactivated on portal will get re-activated upon the next LDAP sync / login. The expectation is for a two way sync between portal & LDAP.

      Steps to reproduce:

      1. Configure LDAP with export enabled. Take care to map the "Status" portal user attribute to an appropriate LDAP attribute. (consider recycling the "roomNumber" from the Person schema maybe)
      2. Create a new user [email protected]
      3. Assert that this user now exists in the LDAP directory and has the status of 0 (i.e. "approved")
      4. Deactivate the user in portal

       Expected outcome: The user now has a status of 5 (i.e. "deactivated")

       Actual outcome: The user remains untouched in the directory

      Attachments

        Issue Links

          Activity

            People

              istvan.sajtos Istvan Sajtos
              stian.sigvartsen Stian Sigvartsen
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years ago

                Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4
                  7.4.2 CE GA3 DXP 7,4
                  7.4.13 DXP GA1
                  Master