Follow-up from "Update logic for invited groups with custom roles"

The following discussion from !161134 (merged) should be addressed:

  • @allison.browne started a discussion: (+1 comment)

    Should we have a scenario where a user is a member of two groups that were both invited?

    For instance Sarah is a developer in the developer group but a guest in the SRE group and/or sarah is a developer in the developer group but and owner of the SRE group?

    What happens when she is then invited to the the project from the SRE group with a max role of maintainer and the developer group with a max role of developer?

    What happens when she is then invited to the the project from the SRE group with a max role of guest and the developer group with a max role of developer?