Page MenuHomePhabricator

Introduce a service for global group storage
Open, Needs TriagePublic

Description

Turns out logic for managing global groups is scattered across static methods in CentralAuthUser, WikiSet and private methods in SpecialGlobalGroupPermissions. Ideally those would be managed by some service (such as GlobalGroupStore/GlobalGroupLookup)

Note that "existence" of global groups is not actually stored in database, they "exist" if they are assigned rights. In addition, they might have an entry in global_group_restrictions which restricts them to a wiki set. This makes things more complicated.

Related Objects

Event Timeline

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

Change 651993 had a related patch set uploaded (by Majavah; owner: Majavah):
[mediawiki/extensions/CentralAuth@master] WIP: Introduce GlobalGroupStore

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

Change 651993 abandoned by Majavah:

[mediawiki/extensions/CentralAuth@master] WIP: Introduce GlobalGroupLookup and GlobalGroupStore

Reason:

WIP and out of date, may be revived later

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

taavi removed taavi as the assignee of this task.Aug 28 2021, 1:02 PM
taavi removed projects: Patch-For-Review, User-Majavah.
taavi updated the task description. (Show Details)

Change 718239 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/extensions/CentralAuth@master] Introduce GlobalGroupLookup

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

Change 718239 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Introduce GlobalGroupLookup

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