Ghost/core/server/services
Kevin Ansfield cf29ed8c30
Updated members allowSelfSignup() to take portal plans into account (#12909)
refs https://github.com/TryGhost/Team/issues/579

`members_signup_access = 'invite'` now forces invite-only mode so both free and paid setups both use the `'all'` setting. To ensure we're properly allowing/disabling free (self signup) signups in the members API we need to update `allowSelfSignup()` to take additional settings into account.

- `true` when Stripe is not connected. There are no paid plans available in this configuration so free signup is always enabled. To disable free signup on a site with no Stripe setup the members signup access should be set to `invite` or `none`.
- `true` when Stripe is configured and free plan is enabled in portal, without it Members API would not send magic link emails to signup requests
- `false` in all other situations such as invite-only and members-disabled signup access modes, or when the free plan has been disabled in portal configuration
2021-04-27 16:22:43 +01:00
..
adapter-manager Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
auth Added oauth login and invitation acceptance 2021-04-21 19:36:27 +02:00
bulk-email 🐛 Stopped Ghost crashing when sending bulk emails (#12718) 2021-03-03 09:34:44 +00:00
email-analytics Fixed analytics require error 2021-03-02 08:26:42 +00:00
invitations 🐛 Fixed error caused by accepting invitation with existing email (#12172) 2020-09-09 11:58:53 +12:00
invites Updated email styles 2021-03-03 17:15:37 +01:00
jobs Added custom worker message handler 2021-02-22 20:02:00 +13:00
mail Fixed email preheaders 2021-03-23 09:49:33 +01:00
mega Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
members Updated members allowSelfSignup() to take portal plans into account (#12909) 2021-04-27 16:22:43 +01:00
notifications Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
permissions Added custom integration feature limit 2021-03-03 20:15:49 +00:00
settings Fixed the previous commit 2021-04-16 18:05:13 +02:00
themes Moved theme service to core/server 2021-04-27 15:14:49 +01:00
webhooks Blocked webhooks when integration limit is in place 2021-04-10 00:48:46 +12:00
labs.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
limits.js Fixed limits realoding during soft Ghost restart 2021-04-10 00:08:17 +12:00
oembed.js Moved the OEmbed service to use our DI pattern 2021-01-15 15:35:30 +01:00
slack.js Refactored usage of the pre v4 "slack" setting 2021-02-15 15:25:54 +13:00
users.js Moved the users service to use our DI pattern 2021-01-15 17:58:36 +01:00
xmlrpc.js Adding sentry logging to all ping errors 2021-02-19 14:00:50 +01:00