[PB-28065] I want to be able to assign users into groups when I am inviting them

@Jojojo thanks for the proposal. The reason this is not done at the moment is that there is a major hurdle with End to End encryption scheme passbolt uses. In order to share a password with someone (necessary when you add them to a group), you need to encrypt the secrets with the public key of the user. This key is generated client side during the setup.

One approach we were thinking of taking would be to add the users to the group as “pending”, and then wait for them to complete the setup, and have the group manager share credentials with them once they have completed the setup. This would make things more transparent, even if the credentials of the groups won’t be available to the user right after the login.