A user can be made group admin without specifying a set of groups to admin
Description
When editing users, it’s possible to give them the ROLE_GROUP_ADMIN without setting a list of groups to administer. Saving is allowed, but coming back to edit will NPE as the AbstractUserPage searches for such list assuming it cannot be null. Recovery is possible only editing the user service config directly.
We should have both validation on save, and tolerance for no group list.
When editing users, it’s possible to give them the ROLE_GROUP_ADMIN without setting a list of groups to administer. Saving is allowed, but coming back to edit will NPE as the AbstractUserPage searches for such list assuming it cannot be null. Recovery is possible only editing the user service config directly.
We should have both validation on save, and tolerance for no group list.