Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5948

Cannot list users when a ldap user that belongs to a group is deleted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.7.1
    • 1.10.0, 1.9.2
    • Core UI
    • None

    Description

      I configured Nifi to use LDAP to provide users. Then in Nifi, using the UI, I created groups and associated some LDAP users to the groups.

      This worked fine until a user was deleted in LDAP, when this happened when I tried to list users using the "burgerMenu -> Users" option the error: "Unable to find user with id 'ae1523b4-1336-3a1c-8283-0a784f5cb017'." was displayed.

      The only way to fix this problem was to delete the association of the user to the group in the file: users.xml.

      I think that when a user is deleted from LDAP and Nifi refreshes the user list it should check also for deleted users in order to remove them from user/groups associations as well to prevent this problem.

      I've provided in this report a screenshot of the error.

      Attachments

        1. authorizers.xml
          4 kB
          Juan Pablo Converso
        2. error.png
          24 kB
          Juan Pablo Converso
        3. login-identity-providers.xml
          1 kB
          Juan Pablo Converso
        4. nifi.properties
          11 kB
          Juan Pablo Converso

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpconver Juan Pablo Converso
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: