Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-3018

When adding a user to an LDAP connector directory, "active" flag is ignored

      Symptoms

      When adding a new user to a directory with an LDAP connector, if you specify the user's active flag to false, it will still be created with active flag true. After adding the user, the flag can be turned off without issue.

      This affects the Crowd Admin Console user interface, and also the REST API.

      Steps to Reproduce

      In the admin console, add a user and set the active flag to "false". After the user is added, the active flag is set to true.

      To replicate in REST:

      curl -i -u test:test --data '{ "name" : "my_username", "first-name" : "My", "last-name" : "Username", "display-name" : "My Username", "email" : "user@example.test", "password" : { "value" : "my_password" }, "active" : false }' http://localhost:8095/crowd/rest/usermanagement/1/user --header 'Content-Type: application/json' --header 'Accept: application/json'
      

      When this command is run, the user is created with the active flag set to "true" despite "false" being the value in the request payload.

      This issue does not affect Crowd internal directories.

      Workaround

      Manually set the flag after the create command, or send a REST command to update the flag.

            [CWD-3018] When adding a user to an LDAP connector directory, "active" flag is ignored

            Ishwinder Kaur made changes -
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Long Term Backlog [ 12073 ] New: Closed [ 6 ]
            Ishwinder Kaur made changes -
            Labels Original: crowd-triage-support New: cleanup-seos-fy25 crowd-triage-support
            SET Analytics Bot made changes -
            Support reference count New: 1
            Dawid Owoc (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Long Term Backlog [ 12073 ]
            Dawid Owoc (Inactive) made changes -
            Component/s New: Directory - LDAP [ 11873 ]
            Dawid Owoc (Inactive) made changes -
            Labels New: crowd-triage-support
            Monique Khairuliana (Inactive) made changes -
            Epic Link Original: CWD-4701 [ 598559 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1511136 ] New: JAC Bug Workflow v3 [ 3365883 ]
            Status Original: Needs Verification [ 10004 ] New: Needs Triage [ 10030 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Lukasz Pater made changes -
            Status Original: Open [ 1 ] New: Needs Verification [ 10004 ]

              Unassigned Unassigned
              dmason David Mason (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: