Manual:$wgGroupsRemoveFromSelf/ko
| User rights, access control and monitoring: $wgGroupsRemoveFromSelf | |
|---|---|
| Use this to allow users to remove themselves from specified groups via Special:Userrights. |
|
| 이 변수가 소개된 버전: | 1.12.0 (r29765) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (array) |
| 기본값: | [] |
| 기타 설정: 알파벳 순 | 기능별 순 | |
Details
$wgGroupsRemoveFromSelf allow users to remove their own user rights.
| 미디어위키 버전: | ≥ 1.14 |
The syntax since 1.14 is:
$wgGroupsRemoveFromSelf['sysop'][] = 'bot'; // adminstrators can remove themselves from the bot group: $wgGroupsRemoveFromSelf['sysop'] = array( 'bot' );
| 미디어위키 버전: | 1.12 – 1.13 |
The syntax of MW 1.12 - 1.13 is:
$wgGroupsRemoveFromSelf = array( 'group1', 'group2', '...' );
Changes in 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.
같이 보기
- 매뉴얼:$wgAddGroups
- Manual:$wgRemoveGroups
- Manual:$wgGroupsAddToSelf
- 매뉴얼:$wgGroupPermissions
- 매뉴얼:유저 권한 - information about managing and the assignment of user groups.