Ghost/ghost/core/test/e2e-api/members-comments
Simon Backx 4282ead3a7
🐛 Fixed commenting on tier-only posts (#15333)
fixes https://github.com/TryGhost/Team/issues/1860

**Problem:**
Members were not able to comment on a post that was only visible for members with a specific tier.

**Causes:**
Content gating was done on models with missing relations.
- The products relation was not loaded on the member when doing content gating
- The tiers relation was not loaded on the post when doing content gating

**Tests:**
- Added for tier-only posts
- Added for paid-only commenting
2022-08-30 17:38:58 +02:00
..
__snapshots__ 🐛 Fixed commenting on tier-only posts (#15333) 2022-08-30 17:38:58 +02:00
comments.test.js 🐛 Fixed commenting on tier-only posts (#15333) 2022-08-30 17:38:58 +02:00