Page MenuHomePhabricator

Throw an error from API Userrights explaining that temporary users do not have groups
Closed, ResolvedPublic2 Estimated Story Points

Description

This is for T330816: [Epic] Temporary users should not be assigned to user groups. See also T330816#8958447.

We should do this once groups have been disabled for temporary users (see other subtasks of T330816: [Epic] Temporary users should not be assigned to user groups), and also after work to prevent groups being set on temporary users via ApiUserRights (which may involve updating UserDef::PARAM_ALLOWED_USER_TYPES to distinguish temporary users separately).

Related Objects

StatusSubtypeAssignedTask
In ProgressNiharika
OpenNone
OpenTchanders
OpenNone
ResolvedSTran
ResolvedUmherirrender
Resolved AGueyte
Duplicate AGueyte
ResolvedSTran
Resolved Dreamy_Jazz
OpenSTran
OpenSTran
OpenSTran
OpenSTran
OpenSTran
OpenNone
OpenNone
OpenNone
OpenSTran
ResolvedSTran
ResolvedBUG REPORT Dreamy_Jazz
OpenNone
Resolved TThoabala
Resolved TThoabala
Resolved TThoabala
Resolved AGueyte
ResolvedBUG REPORT AGueyte
ResolvedBUG REPORT AGueyte
Resolved AGueyte
Resolved AGueyte
ResolvedCyndymediawiksim
DuplicateNone
OpenNone
ResolvedTchanders
Resolved AGueyte

Event Timeline

I believe I have covered this situation in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/932820

Adding a follow-up patch to cover the API part

Change 932821 had a related patch set uploaded (by AGueyte; author: AGueyte):

[mediawiki/core@master] Update ApiUserRights to prevent temporary users to be added into groups

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

AGueyte renamed this task from Throw an error from Special:Userrights explaining that temporary users do not have groups to Throw an error from API Userrights explaining that temporary users do not have groups.Jul 11 2023, 12:58 PM

Change 932821 abandoned by Tchanders:

[mediawiki/core@master] Update ApiUserRights to prevent temporary users to be added into groups

Reason:

Not needed

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