Manual:$wgGrantPermissionGroups

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語 • ‎polski • ‎português
User Access: $wgGrantPermissionGroups
Used to define grant groups and assign grants to them.
Introduced in version: 1.27.0 (Gerrit change 259062; git #ef5bd734)
Removed in version: still in use
Allowed values: associative array mapping grants to grant groups
Default value: See DefaultSettings.php
Other settings: Alphabetical | By function

Details[edit]

Grant groups are used on some user interfaces to display conceptually similar grants together.

This configuration value should usually be set by extensions, not site administrators.

New grant groups can simply be created by using a new group name. The user-visible name of a grant groupcan be defined via the grant-group-<name> message.

Example[edit]

$wgGrantPermissionGroups['editprotected'] = 'page-interaction';
$wgGrantPermissionGroups['patrol'] = 'page-interaction';
$wgGrantPermissionGroups['uploadfile'] = 'file-interaction';

See also[edit]