Lets say I have 3 user groups:
- Sysop
- CheckUser
- Staff
Is it possible to group the permissions in the CheckUser and Systop groups into a user right in the Staff group?
Lets say I have 3 user groups:
Is it possible to group the permissions in the CheckUser and Systop groups into a user right in the Staff group?
A user group is a collection of rights.
You can create a user group (Staff) that combines the user rights of CheckUser and Sysop, so an user being in the Staff group can perform the same actions as a user in the CheckUser and Sysop groups.
Except there becomes a problem when a user group's rights takes up a large portion of the screen with duplicate rights.
Hence why I was asking if you could combine right group into a right, so then you only have a few lines. Even if you need to make an extension to do it.
No, you can't. It's usually desirable to have all rights listed in a single place rather than having to jump to other groups to see the effective rigths of that group.
A link to Manual:$wgGroupPermissions seems appropriate for this question. Maybe this page - especially the sections "Details" and "Custom user groups" - help you.
Try this (LocalSettings.php):
$wgGroupPermissions['Staff'] = array_merge($wgGroupPermissions['sysop'], $wgGroupPermissions['checkuser']);