Ghost/test/regression/api/v3/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 Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13: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 Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
labels_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
members_signin_url_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
members_spec.js Fixed typo in test case name 2021-03-30 17:54:53 +13:00
notifications_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
pages_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13: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 Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
schedules_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13: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 Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
users_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13: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