[ 
https://issues.apache.org/jira/browse/NIFI-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Juan Pablo Converso updated NIFI-5948:
--------------------------------------
    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.

  was:
I configured Nifi to use LDAP to provide users. Then in Nifi using the UI I 
created groups and associate LDAP users to groups.

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

The only way to fix this problem is 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.



> Cannot list users when a ldap user that belongs to a group is deleted
> ---------------------------------------------------------------------
>
>                 Key: NIFI-5948
>                 URL: https://issues.apache.org/jira/browse/NIFI-5948
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.8.0
>            Reporter: Juan Pablo Converso
>            Priority: Major
>         Attachments: error.png
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to