Automattic / Automattic/jetpack
IDC: Staging Mode: Don't show publicize, ATD, and others when in staging
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
With our IDC mitigation going in to 4.4, we now automatically put a site in staging mode if we detect that syncing the site would cause an IDC. This is great for protecting the production site, but it also brought up an issue:
Since non-admins can't do anything to fix the IDC, we don't currently show them UI throughout wp-admin (like we do for admins). So, when a non-admin (author/editor) is posting content, and they see the publicize meta box, they probably expect for stuff to be publicized.
We be better about telling non-admins about what features are disabled, when they're actually trying to use the feature.
For example, when creating a new post we could tell users that publicize and ATD are disabled while the site is in staging mode.
Contributor guide
Research direction
Find the wp-admin new-post flow and the publicize and ATD UI entry points; begin by tracing how staging mode is exposed there. Done means non-admin authors and editors are told these features are disabled while staging mode is active, without changing the existing admin behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100