Page MenuHomePhabricator

Show group restrictions on Special:ListGroupRights
Closed, ResolvedPublic

Description

Background

Some user groups have restrictions, which are conditions that a user must meet in order to be added to the group. This is specified by the RestrictedGroups config.

Problem

Currently the only way to see the group restrictions is by reading the configuration.

Solution

We could display this information somewhere on Special: ListGroupRights. Exactly how tbc.

Event Timeline

Perhaps we could add an extra column for restrictions, though this would take up a lot of space given that it's rare to have a group with restrictions. Though it may get less rare.

I think that adding a third column to the main table may make it less comfortable to use, especially on narrower screens.

What if we created a separate section for restricted groups (similar to namespace restrictions) and then every restricted group in the main table would link to the new one below.

image.png (627×190 px, 28 KB)

Change #1243837 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/core@master] Display user group restrictions on Special:ListGroupRights

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

Change #1244603 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/core@master] Add a hook for rendering user requirements condition

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

Change #1243837 merged by jenkins-bot:

[mediawiki/core@master] Display user group restrictions on Special:ListGroupRights

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

Change #1244603 merged by jenkins-bot:

[mediawiki/core@master] Add a hook for rendering user requirements condition

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