Change record status: 
Project: 
Introduced in branch: 
3.1.x, 4.0.x
Introduced in version: 
3.1.10, 4.0.0-alpha2
Description: 

What changed

A new permission, view index now submission results, has been introduced. All UI feedback from the IndexNow submission process — success messages, HTTP error warnings, and exception errors — is now gated behind this permission.

Previously, a warning message was unconditionally displayed to all users whenever the search engine returned a non-200/202 response. There was also no UI feedback on successful submissions.

Before

Any user could see a warning message when Index Now returned an error. No message was shown on success.

After

Only users with the view index now submission results permission see UI messages. Three cases are covered:

  • Successful submission: a status message is displayed.
  • HTTP error returned by the search engine: a warning message is displayed.
  • Exception during the HTTP request: an error message is displayed.

Logging behavior is unchanged and is still controlled by verbose_mode for informational entries. Exceptions are now logged at error level instead of warning.

When submissions are processed in a CLI context (e.g. via drush cron with async mode enabled), messages are always displayed regardless of the permission, since Drush outputs messenger messages to the terminal.

How to update

Grant the view index now submission results permission to the roles that should receive UI feedback about Index Now submissions (typically the Administrator role or content editors who manage SEO).

Impacts: 
Site builders, administrators, editors