Page MenuHomePhabricator

`meta=globaluserinfo&guiprop=merged` should provide information about implicit groups
Open, LowPublicFeature

Description

Feature summary (what you would like to be able to do and where): Currently, the query as referred to in the title only returns non-implicit groups that a user has on a project, but there should be a way (configuration?) where the implicit groups the user has can also be returned.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution): This is used for supporting my Discord authentication bot, which may grant different roles depending on which user groups an account has. The bot is used across different projects, so it will query information about users through globaluserinfo. There are servers that need roles to be granted if someone is autoconfirmed, which cannot be easily checked through the data from globaluserinfo.

Benefits (why should this be implemented?): Helps tools retrieve data globally about a user where needed. The information about groups was added in T181905 but it looks like implicit groups wasn't considered.

Event Timeline

Change #1130544 had a related patch set uploaded (by 0xDeadbeef; author: 0xDeadbeef):

[mediawiki/extensions/CentralAuth@master] localUserData: also load implicitgroups

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

Change #1130544 abandoned by 0xDeadbeef:

[mediawiki/extensions/CentralAuth@master] localUserData: also load implicitgroups

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

aaron triaged this task as Low priority.Feb 19 2026, 5:40 AM

I agree with what Gergö said in the patch comments:

I think it would require a major overhaul of the configuration system, basically something like T255213

Some groups might not be possible to show at all depending on what request/session state they might depend on.