Harden access checks for issue dependencies, team repository membership, notifications, stars, tracked times and repository migrations.