mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
aec2badc6c
fixes https://github.com/TryGhost/Team/issues/1859 **Problem:** When for some reason a member has an active subscription (or legacy comped subscription) for product A, and a comped subscription for product B. You cannot remove comped subscription B. **Fixed by:** Updating the API to allow more flexible product changes on members. - Allow the removal of (comped) products on a member, as long as that product doesn't have a related subscription - (still) allow the addition of comped products to a member, as long as that member doesn't have other active subscriptions. This matches the existing behaviour, but now this is only checked for added products. - Includes tests for these edge cases |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
Gruntfile.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
package.json |