0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
ghost/core
Kevin Ansfield 65862b437e
Migrated 'invite' to 'all' for sites that were not truly invite-only (#12907)
refs https://github.com/TryGhost/Team/issues/579

The previous `members_allow_free_signup` -> `members_signup_access` migration made a direct correlation between the toggle `true/false` to `all/invite` under the assumption that behaviour between the two settings would be identical. The assumption was incorrect and the behaviour is changing so `invite` forces invite-only mode, stopping all front-end signup to free or paid plans with the free plan now being disabled via the portal plans setting.

- check existing `members_signup_access` setting and if it's `'invite'` migrate it to `'all'` where signup should still be possible. The "invite-only" mode should only be active if certain conditions are met:
  - Stripe is not configured ("allow free member signup" off and no Stripe showed "invite-only" in portal)
  - Stripe is configured but no plans are selected in portal (no plans showed "invite-only" in portal)
- when migrating `'invite'` to `'all'`, also remove `'free'` plan from the `portal_plans` setting to avoid previously paid-only sites unexpectedly showing a free plan on signup
2021-05-04 09:50:29 +01:00
..
client@5fb87eb632 Updated Ghost-Admin to v4.3.3 2021-04-29 12:12:55 +01:00
frontend Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
server Migrated 'invite' to 'all' for sites that were not truly invite-only (#12907) 2021-05-04 09:50:29 +01:00
shared Fixed invite only handling in Portal 2021-04-27 23:16:12 +05:30
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
bridge.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00