Page MenuHomePhabricator

Ensure UserGroupManager::addUserToGroup is not called on temporary users from MassMessage extension
Closed, ResolvedPublic

Description

Following T340470, Ensure that UserGroupManager::addUserToGroup is not called on temporary users in MassMessage extension
Link to code search where calls are made can be found here

Related Objects

StatusSubtypeAssignedTask
Resolvedkostajh
DeclinedNone
In ProgressNiharika
OpenNone
OpenTchanders
OpenNone
ResolvedSTran
ResolvedUmherirrender
Resolved AGueyte
Duplicate AGueyte
ResolvedSTran
ResolvedDreamy_Jazz
ResolvedSTran
ResolvedSTran
ResolvedSTran
ResolvedSTran
ResolvedSTran
Resolvedkostajh
ResolvedSTran
ResolvedTchanders
ResolvedSTran
ResolvedSTran
ResolvedSTran
Opensgrabarczuk
ResolvedSTran
ResolvedBUG REPORTDreamy_Jazz
OpenSTran
Resolved TThoabala
Resolved TThoabala
Resolved TThoabala
Resolved AGueyte
ResolvedBUG REPORT AGueyte
ResolvedBUG REPORT AGueyte
Resolved AGueyte
Resolved AGueyte
ResolvedCyndymediawiksim
DuplicateNone
OpenNone
ResolvedTchanders
Resolved TThoabala
Resolved TThoabala

Event Timeline

Change 934688 had a related patch set uploaded (by TsepoThoabala; author: TsepoThoabala):

[mediawiki/extensions/MassMessage@master] Ensure UserGroupManager::addUserToGroup is not called on temporary users from MassMessage extension

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

Change 934688 abandoned by TsepoThoabala:

[mediawiki/extensions/MassMessage@master] Ensure UserGroupManager::addUserToGroup is not called on temporary users from MassMessage extension

Reason:

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

UserGroupManager::addUserToGroup is only called on the user set by this variable wgMassMessageAccountUsername. this can only be done by an admin and it is u likely that an admin can set this to a temporary username.