mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
e3db911108
closes https://github.com/TryGhost/Team/issues/1885 - adds limit check for members to the `PublishOptions` class when it's constructed to set a `publishDisabledError` property if the limit check fails - if `publishOptions.publishDisabledCheck` is present, all publish options in the publish flow are disabled, the underlying error message is shown, and the continue button is removed to prevent filling in everything only to find at the end of the process that publishing fails - added handling for a `HostLimitError` error from the API when confirming publishing so the proper underlying message is displayed instead of the confusing "Host limit error, cannot edit post" error - this is a backup measure for any instances where you're under the max members limit when starting the publish flow but are over the limit when you reach the end of the publish flow |
||
---|---|---|
.. | ||
editor | ||
members | ||
settings | ||
authentication-test.js | ||
content-test.js | ||
custom-post-templates-test.js | ||
dashboard-test.js | ||
editor-test.js | ||
error-handling-test.js | ||
members-activity-test.js | ||
members-test.js | ||
offers-test.js | ||
password-reset-test.js | ||
setup-test.js | ||
signin-test.js | ||
signup-test.js | ||
staff-test.js |