Page MenuHomePhabricator

Suppressed accounts should be removed from Mentor dashboard
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Notice an inappropriate username of a mentee
  • Globally suppress the mentee

What happens?:

  • The mentee with an inappropriate username still appears on the Mentor dashboard:

What should have happened instead?:

  • The mentee is removed from the dashboard or crossed out there

Other information (browser name/version, screenshots, etc.):

image.png (366×941 px, 39 KB)

Now, I am not sure what would happen if I didn't have access rights to see the suppressed information (I am a global steward), but what I would expect to happen is to either have the mentee removed altogether or crossed out similarly to what is done in page histories for the username:

image.png (128×1 px, 106 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

(It also does not mention that the user is blocked at all in the dashboard, which is either the same or related bug depending on how you look at it).

Base renamed this task from Suppressed accounts should be removed from Mentour dashboard to Suppressed accounts should be removed from Mentor dashboard.Oct 4 2022, 9:25 AM

The account seems to be removed from the dashboard now. Is there some delay because it is managed by a job queue?

Hello @Base,

thanks for reporting the issue!

(It also does not mention that the user is blocked at all in the dashboard, which is either the same or related bug depending on how you look at it).

The numbers are meant to update every three hours (getting some of the aggregated numbers is expensive, so it's not realtime unfortunately). That said, suppressed users are supposed to disappear immediately.

The account seems to be removed from the dashboard now. Is there some delay because it is managed by a job queue?

This is not supposed to happen. Do you remember how long the delay was, please?

So, I tried to reproduce the issue at test.wikipedia. Fortunately, the account disappeared immediately from the dashboard when I used an unprivileged testing account. For my WMF account (has access to suppressed accounts via +staff), the account stayed in the dashboard (without signalizing the account is suppressed).

So, I guess there is no leak of private information (fortunately). We should, however, cross the username similar to page histories.

Change 839674 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] [WIP] DataTableCellMentee: Strike-through suppressed mentees

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

Urbanecm_WMF changed the task status from Open to In Progress.Oct 6 2022, 7:28 PM

Do you remember how long the delay was, please?

I don't know when it has disappeared exactly. I have written my comment about it doing so as soon as I have noticed it, but I wasn't really checking the dashboard in the meantime

Change 839674 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] DataTableCellMentee: Strike-through suppressed mentees

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

Urbanecm_WMF changed the task status from In Progress to Open.Oct 20 2022, 12:51 PM

Change 844043 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@wmf/1.40.0-wmf.6] DataTableCellMentee: Strike-through suppressed mentees

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

Change 844043 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.40.0-wmf.6] DataTableCellMentee: Strike-through suppressed mentees

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

Mentioned in SAL (#wikimedia-operations) [2022-10-20T13:21:43Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:844043|DataTableCellMentee: Strike-through suppressed mentees (T319185)]]

Mentioned in SAL (#wikimedia-operations) [2022-10-20T13:22:03Z] <urbanecm@deploy1002> urbanecm and urbanecm: Backport for [[gerrit:844043|DataTableCellMentee: Strike-through suppressed mentees (T319185)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-10-20T13:27:02Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:844043|DataTableCellMentee: Strike-through suppressed mentees (T319185)]] (duration: 05m 18s)

Verified during B&C deployment, resolving.