disabling the group selector when the user is not allowed to access groups