mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
refs: https://github.com/TryGhost/Team/issues/510 - The current member limit was implemented as a member-specific concept - The new limit service is much more generic, here we are swapping old for new - The updated concept here is blocking all publishing, not just email sending, when a site is over its member limit - To determine that we are publishing a post, we must be in the model layer. The code has been moved to the permissible function which makes sense as this is a permissions error that we are throwing - I've left the extra check for email retries in, in case there is some loophole here (but we may wish to change it) |
||
---|---|---|
.. | ||
emails | ||
importer | ||
stats | ||
api.js | ||
config.js | ||
content-gating.js | ||
index.js | ||
middleware.js | ||
settings.js | ||
SingleUseTokenProvider.js | ||
stripe-connect.js | ||
utils.js |