In T375117: Give access to checkuser-temporary-account on all wikis for any user who is in the checkuser or suppress group on any wiki, a global group was created that is named global-temporary-account-viewer and which allows users to have the rights to see temporary account IP addresses. This task is to investigate making assigning and removing this user group automatic, such that stewards do not need to manually update the group membership. The group should be given when a user has at least one wiki where they have suppress or checkuser groups or have the global group global-sysop.
Acceptance criteria
- When a user is granted local checkuser or suppress on any WMF wiki or given the global group global-sysop, they are given the global-temporary-account-viewer group
- When a user no longer holds checkuser or suppress on any WMF wiki and don't have the global-sysop global group (including if this is because the groups expired), they have the global-temporary-account-viewer group removed
-
The maintenance script createAndPromote.php also ensures these groups stay in sync(see T376315#10637324) - If the user updating the local right does not possess the globalgroupmembership right then the global change is still carried out and logged.
Notes
- There are other global groups that allow members to reveal IPs, e.g. steward, abusefilter-maintainer, abusefiter-helper and others, but these assign the checkuser-temporary-account right directly, so the user does not require automatic promotion to global-temporary-account-viewer.
- The reason that global-sysop members need to be promoted is that the global-sysop group is not enabled on all wikis, but these users should be able to reveal IPs on all wikis.


