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


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 set Reference to bz13603.
Mormegil created this task.Apr 3 2008, 1:57 PM

Patch applied in r32740

Add Comment