Replies: 0
On our WordPress multisite network, when the error message “Please re-grant Google app permissions! Go to WP Mail SMTP plugin settings page. Click the “Remove Connection” button. Then click the “Allow plugin to send emails using your Google account” button and re-enable access.” appears, my local site admins cannot remove the bad connection. They click the Remove Connection button, but it does nothing.
Instead, I as the Network Admin need to click the Remove Connection button to remove the bad connection. Then the local site admin can click the Allow plugin to send emails using your Google account to reauthorize the GMail connection.
This really makes no sense. They are able to go to the WP Mail SMTP Settings page, see the error, and add a new connection. But they cannot remove a broken one. This is on WordPress v.5.4.4, and WP Mail SMTP v.2.3.1.
The local site admins belong to a custom Site_Admin role that has permissions slightly less than a regular Administrator. Their permissions are:
allow_webhook_posts copy_posts create_users delete_others_pages delete_others_posts delete_pages delete_posts delete_private_pages delete_private_posts delete_published_pages delete_published_posts delete_users edit_dashboard edit_others_pages edit_others_posts edit_pages edit_posts edit_private_pages edit_private_posts edit_published_pages edit_published_posts edit_theme_options export import list_roles list_users manage_categories manage_links manage_options moderate_comments publish_pages publish_posts read read_private_pages read_private_posts remove_users restrict_content unfiltered_html upload_files