0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-30 22:34:01 -05:00
ghost/apps/admin-x-framework
Sag e67e2411f2
Added option to disable free signups (#21862)
ref https://linear.app/ghost/issue/ENG-1235

- problem: today, when a publisher removes the "free" tier from the
Portal settings, it doesn't disable free signups entirely. It removes
the free tier from the Portal UI, but free signup is still possible via
other avenues (signup form in themes, embeddable signup form on another
site, direct API call). This creates confusion/frustration for
publishers who thought they disabled free signups, but are still getting
unwanted free signups (spam). There is no way to disable free signups
entirely.

- solution: introduced a new "paid-members only" subscription access
setting, which blocks all free signups at the API level. If chosen, the
free tier is hidden in Portal and all free signup are blocked at the API
level with a readable error message (`This site only accepts paid
members.`)

![CleanShot 2024-12-10 at 09 09
28@2x](https://github.com/user-attachments/assets/c71b38b4-0d23-429c-a743-00772e82c787)
2024-12-20 02:43:48 +08:00
..
src Added option to disable free signups (#21862) 2024-12-20 02:43:48 +08:00
test Added custom headers to be passed to createQuery hook (#20402) 2024-06-19 10:27:07 +07:00
.eslintrc.cjs Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
.gitignore Moved AdminX test config to framework package (#19096) 2023-11-22 13:39:32 +00:00
package.json Adding Posts analytics React app (#21878) 2024-12-19 12:01:08 +01:00
tsconfig.declaration.json Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
tsconfig.json Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
tsconfig.node.json Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
vite.config.ts Adding Posts analytics React app (#21878) 2024-12-19 12:01:08 +01:00