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. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to