Page MenuHomePhabricator

Support cross-wiki rights change notification in Echo
Open, NormalPublic

Description

Cloning from T53418.

Echo should support cross-wiki rights notifications.

When a steward modifies your user rights using the cross-wiki user right modification feature on meta, you don't get notified, even though you do get notified if a local bureaucrat makes the same change to your user rights. You should be notified of user right changes regardless of which interface was used to change your rights.

See Also:
T53418: User rights hook doesn't take into account cross-wiki or global user rights changes
T53541: Support global account rights change notification in Echo

Details

Reference
bz51540

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:09 AM
bzimport added a project: Notifications.
bzimport set Reference to bz51540.
bzimport added a subscriber: Unknown Object (MLST).

Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/224

Change 88683 had a related patch set uploaded by Legoktm:
Support global group change notifications

https://gerrit.wikimedia.org/r/88683

Re-setting to NEW - that patch is for bug 51541 not this.

Catrope updated the task description. (Show Details)Aug 3 2015, 11:33 PM
Catrope set Security to None.
Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptAug 3 2015, 11:33 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
KTC added a subscriber: KTC.Nov 5 2015, 2:47 PM
TTO added a subscriber: TTO.Apr 27 2017, 1:38 AM

I just looked into this. The reason why this is hard is that the Echo event occurs on the central wiki (metawiki in our case) but needs to be inserted into another wiki's database, which appears to be completely unsupported by Echo's infrastructure.

I suppose it would be possible to hack this in using cross-wiki notifications, but that would probably be very confusing to users.

If you create the notification on meta, then cross-wiki notifications will ensure that the user still sees it, but it will appear to come from meta, which may be confusing. It's probably better to find a way to get the target wiki to create the notification instead, maybe by queueing a job (I think a wiki can queue a job for a different wiki, right?) or with an API request or some other trick.

If you create the notification on meta, then cross-wiki notifications will ensure that the user still sees it, but it will appear to come from meta, which may be confusing. It's probably better to find a way to get the target wiki to create the notification instead, maybe by queueing a job (I think a wiki can queue a job for a different wiki, right?) or with an API request or some other trick.

Yes, it's simple for a wiki to queue a job for another wiki: https://phabricator.wikimedia.org/diffusion/EMAM/browse/master/includes/job/MassMessageSubmitJob.php;391e1d5d3b022f610b2037effc04aaee97a58a3c$29 .

gpaumier removed a subscriber: gpaumier.Jul 18 2018, 5:57 PM
Restricted Application added a project: Growth-Team. · View Herald TranscriptJul 18 2018, 5:57 PM