This is very similar to a disable methods in `Glue::Foreman::User`. I would be better to extract it from both to a common module.