Topic on Project:Support desk

Is it possible to group user groups into a user right?

6
Resinderate (talkcontribs)

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?

Ciencia Al Poder (talkcontribs)

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.

Resinderate (talkcontribs)

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.

Ciencia Al Poder (talkcontribs)

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.

88.130.121.172 (talkcontribs)

A link to Manual:$wgGroupPermissions seems appropriate for this question. Maybe this page - especially the sections "Details" and "Custom user groups" - help you.

Ricordisamoa (talkcontribs)

Try this (LocalSettings.php):

$wgGroupPermissions['Staff'] = array_merge($wgGroupPermissions['sysop'], $wgGroupPermissions['checkuser']);
Reply to "Is it possible to group user groups into a user right?"