mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 06:12:03 +03:00
b08b95085e
refs https://github.com/TryGhost/Team/issues/496 We want to give more control over the default selection of email recipients when publishing a post, to do that we need somewhere to store those settings. These settings are site-wide and intended for use by admins to control the default editor behaviour for all staff users. They _do not_ control API behaviour, if you want to send email when publishing via the API it's still necessary to explicitly opt in to that using the `?email_recipients_filter=` query param. - new `editor` settings group to indicate that these settings only affect the UI rather than the API - `editor_default_email_recipients` controls overall behaviour, string/enum with these allowed values: - `'disabled'`: no option to send email is shown in the editor's publishing dropdown - `'visibility'`: (default) selected member segment is dynamic and matches the post visibility filter - `'filter'`: specific member filter defined in `editor_default_email_recipients_filter` setting - `editor_default_email_recipients_filter` is an NQL string for selecting members, used when `editor_default_email_recipients` is set to `'filter'` - default value is `'all'` - the segment string can be any valid NQL filter with the additional special-case values of `'all'` and `'none'` |
||
---|---|---|
.. | ||
utils | ||
actions.js | ||
authentication.js | ||
authors-public.js | ||
config.js | ||
db.js | ||
email-preview.js | ||
email.js | ||
identities.js | ||
images.js | ||
index.js | ||
integrations.js | ||
invites.js | ||
labels.js | ||
mail.js | ||
members.js | ||
memberSigninUrls.js | ||
membersStripeConnect.js | ||
notifications.js | ||
oembed.js | ||
pages-public.js | ||
pages.js | ||
posts-public.js | ||
posts.js | ||
preview.js | ||
products.js | ||
redirects.js | ||
roles.js | ||
schedules.js | ||
session.js | ||
settings-public.js | ||
settings.js | ||
site.js | ||
slack.js | ||
slugs.js | ||
snippets.js | ||
tags-public.js | ||
tags.js | ||
themes.js | ||
users.js | ||
webhooks.js |