Last modified: 2010-01-16 23:38:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22937, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20937 - Restrict Special:Listusers to specific group(s)
Restrict Special:Listusers to specific group(s)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-01 23:53 UTC by Nicolas Brouard
Modified: 2010-01-16 23:38 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nicolas Brouard 2009-10-01 23:53:50 UTC
Hi,

For legal reasons, I would like to restrict the information on the members (Special:Listusers) of a group to only members of that group. Let me detail our needs:

Members of a few different associations are welcomed to a common private wiki.
Any member is "pre" subscribed by her/his official "First_name Last_Name" of the association and their e-mail.
(we set an sql file for that purpose and uploaded it already).

Members can now "voluntary" subscribe to the common wiki by entering their "First_name Last_Name" in the login area and asking for a password to be sent by e-mail. A "voluntary subscribed member" is defined if he/she log in and changed the password. This list of voluntary members must, for legal reasons, be accessible only to the voluntary members (of whatever association).

How to restrict Special:Listusers to only voluntary subscribed members?

Is there a better way to give a right to subscription to members without fully subscribing members reluctant to a wiki?

Many thanks for any information on this subject because I haven't found discussion on this aspect yet.
Comment 1 Chad H. 2009-10-02 19:17:23 UTC
Tweaking summary.
Comment 2 Alexandre Emsenhuber [IAlex] 2009-10-23 15:08:40 UTC
You can use http://www.mediawiki.org/wiki/Extension:LockDown to restrict access to Special:Listusers. For this you'll need to install and then select which groups can access Special:ListUsers, let's say "sysop":

$wgSpecialPageLockdown['Listusers'] = array( 'sysop' );

You can allow multiple groups to access Special:Listusers, for this you can use:

$wgSpecialPageLockdown['Listusers'] = array( 'sysop', 'some-other-group' );

and any member of 'sysop' and/or 'some-other-group' will be able to access that page. You may need to create a new group for those you want to be able access Special:Listusers.
Comment 3 Platonides 2010-01-16 23:38:02 UTC
LockDown extension already provides the requested feature.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links