Ghost/test/regression/api/canary/admin
Kevin Ansfield fff6a04c54
Migrated members_allow_free_signup setting to members_signup_access (#12886)
refs https://github.com/TryGhost/Team/issues/579

Currently the members signup setting is explicitly yes/no to allowing free members signup, with the implication that when set to "no" members is still active but members have to be created via Stripe or the admin API.

This change renames the setting and changes its type to allow more than a binary option.

- migration to create/update the new setting based on the old value
  - free signup = "all", no free signup = "invite"; matches the current UI for this setting
- rename setting everywhere it's used/tested against
- modify `getAllowSelfSignup()` used to configure members packages to only return `true` when the new setting is set to `'all'` to match behaviour to the older setting
- update importer to rename the setting when importing from an older Ghost version
2021-04-19 16:36:30 +01:00
..
authentication_spec.js Improved error messaging for password reset process 2020-09-22 15:45:19 +12:00
db_spec.js 💥 Reduced default exports content for DB APIs (#12818) 2021-03-25 19:27:49 +13:00
identities_spec.js Updated tests to reflect jwks-rsa v2 changes 2021-04-16 09:58:47 +01:00
images_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
labels_spec.js Added more specific error handling when adding duplicate labels 2020-06-05 00:23:10 +12:00
members_signin_url_spec.js Granted Admin users ability to impersonate member (#12132) 2020-08-18 14:17:56 +05:30
members_spec.js Fixed typo in test case name 2021-03-30 17:54:53 +13:00
notifications_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
pages_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
posts_spec.js 🏗 Changed internal URL storage format to use __GHOST_URL__ (#12731) 2021-03-05 13:54:01 +00:00
redirects_spec.js Fixed broken tests from previous commit 2021-03-17 16:18:48 +01:00
schedules_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
settings_spec.js Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00
site_spec.js Added regression tests for Admin API /site endpoints 2021-03-09 22:10:27 +13:00
slack_spec.js Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
users_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
utils.js Updated utils for site endpoint response checks 2021-03-09 22:12:05 +13:00
webhooks_spec.js Fixed fixture creation order in webhooks tests 2021-03-04 10:56:58 +01:00