Jump to content

Manual:$wgGroupsRemoveFromSelf

From mediawiki.org
This page is a translated version of the page Manual:$wgGroupsRemoveFromSelf and the translation is 73% complete.
利用者権限、アクセス制御、モニタリング: $wgGroupsRemoveFromSelf
Special:Userrights で利用者が自身を指定したグループから除去できるようにする。
導入されたバージョン:1.12.0 (r29765)
除去されたバージョン:使用中
許容される値:(配列)
既定値:[]

詳細

$wgGroupsRemoveFromSelf は、利用者が自身の利用者権限を除去できるようにします。

MediaWiki バージョン:
1.14

1.14 以降の構文:

$wgGroupsRemoveFromSelf['sysop'][] = 'bot'; // 管理者は自身からボット権限を除去できる: $wgGroupsRemoveFromSelf['sysop'] = array( 'bot' );
MediaWiki バージョン:
1.12 – 1.13

MediaWiki 1.12 - 1.13 の構文:

$wgGroupsRemoveFromSelf = array( 'group1', 'group2', '...' );

1.14.0 での変更点

In r39368, the way this variable works was changed. Before, it allowed every user to remove groups from themselves, now it can be filtered on a per-group basis. The new syntax is $wgGroupsRemoveFromSelf['group1'] = array( 'group2', 'group3' ); which allows any user in the group "group1" to remove the groups "group2" and "group3" from themselves. The old syntax will still work, allowing every user to remove groups from themselves, but it is recommended that you use $wgGroupsRemoveFromSelf['user'] = array( 'group1', 'group2' ); instead.

You may use $wgGroupsRemoveFromSelf['group'] = true; to allow users in that group to remove every group from themselves.

関連項目