Added permissions so an account admin can access settings plus tests for it
Bunch of Rubocop errors fixed because I forgot to check before the last commit