Ghost/ghost/core
Simon Backx aec2badc6c
🐛 Fixed removing comped subscriptions for members with active subs (#15332)
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
2022-08-30 16:48:44 +01:00
..
content Added free trial indicator to tier card in Admin 2022-08-16 14:15:31 +02:00
core 🐛 Fixed newsletters not rendering with non-HTML safe chars (#15331) 2022-08-30 11:26:01 +01:00
test 🐛 Fixed removing comped subscriptions for members with active subs (#15332) 2022-08-30 16:48:44 +01:00
.c8rc.json Extracted shared API framework to separate package 2022-08-11 17:44:59 +02:00
.eslintignore Added member attribution script (#15242) 2022-08-16 15:44:51 +02:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00
.gitignore Added copied release assets into .gitignore 2022-08-10 14:19:16 +02:00
.npmignore Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
config.development.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
Gruntfile.js Cleaned up core package Gruntfile 2022-08-08 13:03:49 +02:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
jsconfig.json Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
loggingrc.js Switched to original version for metrics 2022-08-04 19:22:57 +02:00
MigratorConfig.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
package.json v5.12.1 2022-08-30 11:56:45 +01:00