Manual:$wgAddGroups/ko
<translate> User rights, access control and monitoring</translate>: $wgAddGroups | |
---|---|
Controls who can add specific groups using Special:Userrights. |
|
<translate> Introduced in version:</translate> | 1.11.0 |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (array) |
<translate> Default value:</translate> | [] |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
설명
미디어위키 버전: | <translate> ≥</translate> 1.12 |
기본적으로 관료 사용자 그룹은 다음과 같은 설정 때문에 모든 권한을 받게 되었습니다.
$wgGroupPermissions['bureaucrat']['userrights'] = true;
일부 권한 만 부여 받을 수 있는 그룹 (이번 예시에서도 : 관료)은 userrights 권한을 false로 설정해야합니다. 그렇지 않으면 모든 그룹을 추가 할 수 있습니다 (1.11 제외).
$wgGroupPermissions['bureaucrat']['userrights'] = false;
또는 확장의 정의를 덮어 쓸 필요없이 $wgAddGroups 를 정의 할 수 있습니다.
$wgAddGroups['bureaucrat'][] = 'sysop';
$wgAddGroups['bureaucrat'][] = 'bot';
미디어위키 버전: |
If a group can add any right (example: bureaucrats can add any right):
$wgAddGroups['bureaucrat'] = true;
If a group can add only some rights (example: bureaucrats can add only sysop and bot groups):
$wgAddGroups['bureaucrat'] = [ 'sysop', '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're already in that group and that the groups you are in do not allow the removal of a user from the set groups.
Once a user is in a group, defined by this setting the group checkboxes will only show up if $wgRemoveGroups
is also set for the group in question.
같이 보기
- $wgRemoveGroups
- $wgGroupsAddToSelf
- $wgGroupsRemoveFromSelf
- $wgGroupPermissions
- 매뉴얼:유저 권한 - * 매뉴얼:사용자 권한 - information about managing and the assignment of user groups.