Migrations shouldn't fail RuboCop checks - especially lint checks, such as the nested method check. To avoid changing code in existing migrations, add the magic comment to the top of each of them to skip that file.
The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects.