Add a possibility to retrieve all defined user groups and their permissions via API
Closed, ResolvedPublic

Description

Implementation of API query for meta=siteinfo&siprop=usergroups

It should be possible to list all defined user groups and their associated user permissions (i.e. the contents of $wgGroupPermissions). I believe there is nothing secret in this definition.

This functionality should probably go to query/siteinfo (api.php?action=query&meta=siteinfo&siprop=usergroups).


Version: unspecified
Severity: enhancement

Attached: api-usergroups.diff

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 10:03 PM
bzimport set Reference to bz13603.
Mormegil created this task.Via LegacyApr 3 2008, 1:57 PM
Catrope added a comment.Via ConduitApr 3 2008, 2:33 PM

Patch applied in r32740

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.