[x] Add the pins or archive_alpha_games label if this change will break existing games
[x] Code passes linter with docker compose exec rack rubocop -a
[x] Tests pass cleanly with docker compose exec rack rake
Implementation Notes
Explanation of Change
The M&M private was usable by any corporation that the president of the owning corporation was running. This was corrected by adding when: 'token' to the company in entities.rb, limiting its use to the owning corporation's token laying step.
Fixes #10025
Before clicking "Create"
master
pins
orarchive_alpha_games
label if this change will break existing gamesdocker compose exec rack rubocop -a
docker compose exec rack rake
Implementation Notes
Explanation of Change
The M&M private was usable by any corporation that the president of the owning corporation was running. This was corrected by adding
when: 'token'
to the company in entities.rb, limiting its use to the owning corporation's token laying step.Screenshots
Any Assumptions / Hacks