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

ASF GitHub Bot commented on NIFI-1884:
--------------------------------------

Github user alopresto commented on the pull request:

    https://github.com/apache/nifi/pull/452#issuecomment-220108280
  
    I'm not sure I understand the relationship between `User` and `Group` -- 
which class owns the relationship, and is it bidirectional? What would be the 
steps for the following tasks:
    
    - Create a group "Admins", create a user "Bryan Bende", add "Bryan Bende" 
to "Admins"
    - Create a group "Admins", create a user "Andrew LoPresto", add "Andrew 
LoPresto" to "Admins", change name of "Andrew LoPresto" to "Andy LoPresto" 
    - Create a group "Admins", create a user "Bryan Bende", create a user "Andy 
LoPresto", add "Bryan Bende" to "Admins", add "Andy LoPresto" to "Admins", 
remove user "Bryan Bende" from "Admins"
    
    It seems as if the `User` and `Group` objects both have references to each 
other, but they are String identifiers, and the `Set`s are immutable. 


> Add User & Group API
> --------------------
>
>                 Key: NIFI-1884
>                 URL: https://issues.apache.org/jira/browse/NIFI-1884
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Core Framework
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Define the API for  managing users, groups, and policies.
> This is to advance the work described in this feature proposal:
>  https://cwiki.apache.org/confluence/display/NIFI/Support+Authorizer+API
> The parent JIRA for all authorization work is NIFI-1550.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to