You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/01/25 19:57:00 UTC

[jira] [Commented] (NIFI-9578) The Nifi User List in the UI will not populate if they are syncing a username and a group name that are the same

    [ https://issues.apache.org/jira/browse/NIFI-9578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482076#comment-17482076 ] 

ASF subversion and git services commented on NIFI-9578:
-------------------------------------------------------

Commit 3eef7e0a3e9e68b0acb5129416a1bc824a124baf in nifi's branch refs/heads/main from Adam Kocsis
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3eef7e0 ]

NIFI-9578 NiFi user list no longer breaks if a user and group have the same id (#5695)

- ids of the entities are prefixed by their types to avoid id conflict in 3rd party table library
   For some authorizers the UUID calculation for users and groups based only on the name of the entity and a global seed.
   This results the same UUID for a group and a user with the same name. The same ids are no longer causing any issue on the UI.
- group icon alignment is fixed for edit user dialog

This closes #5695 

> The Nifi User List in the UI will not populate if they are syncing a username and a group name that are the same
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-9578
>                 URL: https://issues.apache.org/jira/browse/NIFI-9578
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.13.2
>            Reporter: Timea Barna
>            Assignee: Adam Kocsis
>            Priority: Major
>             Fix For: 1.16.0
>
>          Time Spent: 10h 20m
>  Remaining Estimate: 0h
>
> The Nifi User List in the UI will not populate if they are syncing a username and a group name that are the same
> Recreation Steps:
> I have a user name 'kevin'
> I created a group named 'kevin'
> When I open Nifi, the user list is blank and when I check the browser console, I see the error:
> slick.dataview.js:191 Uncaught Error: [SlickGrid DataView] Each data element must implement a unique 'id' property
> Nifi uses a combined user list even though they come from different endpoints /tenant
> The UI only support searching for users so the 'id' (identity fields within the response json) will match which will throw the error because the code expects the id fields to be unique
> Reproduced in 1.13.2



--
This message was sent by Atlassian Jira
(v8.20.1#820001)