I spend too much time removing project tags (not: user accounts) from the Subscribers field, and adding them to the Project Tags field.
See also slightly related T130262.
And see also T127719.
I spend too much time removing project tags (not: user accounts) from the Subscribers field, and adding them to the Project Tags field.
See also slightly related T130262.
And see also T127719.
Reference | Source Branch | Dest Branch | Author | Title | |
---|---|---|---|---|---|
repos/phabricator/phabricator!9 | T303829 | wmf/stable | aklapper | Do not offer Project Tags to be added to Subscribers fields |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Restricted Task | |||||
Resolved | Feature | Aklapper | T303829 Disallow adding Project Tags in the Subscribers field |
This might be better handled as an option upstream? Putting on my list to evaluate once we've finished T333885: Migrate phabricator.wikimedia.org to Phorge as upstream.
This one-liner seems to work. But no idea about its side effects as I haven't checked which exact applications within Phabricator use which exact datasource backends (from a quick test, e.g. Herald still allows the condition "Subscribers | include all of | #someProjectTag").
diff --git a/src/applications/transactions/editfield/PhabricatorSubscribersEditField.php b/src/applications/transactions/editfield/PhabricatorSubscribersEditField.php index 2fdd1e1066..b6acaa4347 100644 --- a/src/applications/transactions/editfield/PhabricatorSubscribersEditField.php +++ b/src/applications/transactions/editfield/PhabricatorSubscribersEditField.php @@ -4,7 +4,7 @@ final class PhabricatorSubscribersEditField extends PhabricatorTokenizerEditField { protected function newDatasource() { - return new PhabricatorMetaMTAMailableDatasource(); + return new PhabricatorPeopleDatasource(); } protected function newHTTPParameterType() {
aklapper opened https://gitlab.wikimedia.org/repos/phabricator/phabricator/-/merge_requests/9
Do not offer Project Tags to be added to Subscribers fields
brennen merged https://gitlab.wikimedia.org/repos/phabricator/phabricator/-/merge_requests/9
Do not offer Project Tags to be added to Subscribers fields