Jump to content

Manual:$wgRemoveGroups/ko

From mediawiki.org
This page is a translated version of the page Manual:$wgRemoveGroups and the translation is 14% complete.
User rights, access control and monitoring: $wgRemoveGroups
Controls who can remove specific groups using Special:Userrights.
이 변수가 소개된 버전:1.11.0
이 변수가 사라진 버전:계속해서 쓰이고 있음
허용값:(array)
기본값:[]

상세

If a group can remove any right (example: bureaucrats can remove any right):

$wgRemoveGroups['bureaucrat'] = true;

If a group remove only some rights (example: bureaucrats can remove only sysop and bot groups):

$wgRemoveGroups['bureaucrat'] = array( 'sysop', 'bot' );
미디어위키 버전:
1.12

Note that groups which may only grant some rights (like bureaucrats in this example) need to have the userrights privilege set to false, otherwise they will still be able to remove all groups.

You can also define $wgRemoveGroups in a way that does not overwrite an extension's definition:

$wgRemoveGroups['bureaucrat'][] = 'sysop';
$wgRemoveGroups['bureaucrat'][] = 'bot';

Troubleshooting

Not seeing permission checkboxes

If after setting this, you do not see the group checkboxes on the Special:Userrights page for a particular user, it might mean that they've already been removed from that group and that the groups you are in do not allow the removal of a user from other groups.

Once a user has been removed from a group, defined by this setting the group checkbox for this group will only show up if $wgAddGroups is also set for the group in question.

같이 보기