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

Add logic for Crowd Importer to specify if a group should be managed locally or not

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      We discovered that if you import a CSV into a User Directory, there is no logic to propagate the is_local column for the group record in cwd_group table. The fallback behavior will set this value to False, which means that if you import to a User Directory that has remotely managed groups (say, from an LDAP or AD source), on the next sync it will blow away the imported group and configuration.

      Example use case

      Imported group "Foo" from CSV to an LDAP Connector type User Directory with Local Group Management

      Manually created group in UI for an LDAP Connector type User Directory with Local Group Management

      Workaround?

      Because this is a gap in the product design (in that it does not set the is_local property, you can forcibly set this in the database by updating the imported group to have that value set to True. Don't do this if you don't know why you want to, but here's an example.

      Take a backup of your database first and test this in a non-production environment!

      # update all groups in <DIR_ID> (fill this out) to have the is_local value set to True regardless of what it was before
      # this will cause all groups in this User Directory to be locally managed
      update cwd_group set is_local = 'T' where directory_id = <DIR_ID> and lower_group_name IN ()
      

      Attachments

        1. example_group_memberships_file.csv
          0.1 kB
        2. example_users_file.csv
          0.2 kB
        3. image-2019-11-06-11-23-35-414.png
          image-2019-11-06-11-23-35-414.png
          33 kB
        4. image-2019-11-06-11-24-02-098.png
          image-2019-11-06-11-24-02-098.png
          28 kB
        5. screenshot-1.png
          screenshot-1.png
          38 kB
        6. screenshot-2.png
          screenshot-2.png
          33 kB
        7. screenshot-3.png
          screenshot-3.png
          82 kB
        8. screenshot-4.png
          screenshot-4.png
          28 kB

        Activity

          People

            Unassigned Unassigned
            bcostales Bernabe Theodore Costales III
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: