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 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