Hide Forgot
Current dialog for adding permissions is not optimal for ordinary users. Often the user creates a VM and wants to share it with his team, which is typically represented by a user group. For this use-case it makes sense to offer user's groups first instead of forcing user to type in name of the groups he is member of. Conclusion from discussion with Oved is to add new 'radio button' to Permission add dialog. This new radio button would offer list of groups the logged-in user is member of. Personally I would say that it makes sense to make this new mode default in User Portal (and that all other modes should stay available).
Created attachment 1084396 [details] mockup of exteded permission-add dialog I'm adding mockup of exteded permission-add dialog. It lists that logged-in user is member of two groups from two different domains. Red parts were modified by me.
I would make it the last radio button. It shouldn't be the default, imo, but let's consider that when implementing.
Verified in rhevm-4.0.2-0.2.rc1.el7ev.noarch. Every dialog 'Add Permission to User' has now radio button 'My Groups' which returns list of groups the currently logged-in user is member of.