lesson access table created in reports

[Starts #70543062] [Starts #70543130]
rubocop code cleanup