Manual:$wgRevokePermissions/ko
| User rights, access control and monitoring: $wgRevokePermissions | |
|---|---|
| Permission keys revoked from users in each group. |
|
| 이 변수가 소개된 버전: | 1.16.0 (r52083) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (Complex array of boolean values.) |
| 기본값: | [] |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
$wgGroupPermissions allows setting permissions for user groups.
$wgRevokePermissions allows revocation of any of those permissions.
Revoking a right with $wgRevokePermissions takes precedence over granting it with $wgGroupPermissions.
If the right is revoked for even one of the user's groups, they will not have it, regardless of whether it's explicitly permitted by other groups.
- Example
$wgRevokePermissions['sysop']['editinterface'] = true;
- Result is (when viewing Special:ListGroupRights)
사용자 인터페이스를 편집 (editinterface)
This acts the same way as $wgGroupPermissions, except that if the user is in a group here, the permission will be removed rather than added. A good use-case for this setting is in conjunction with $wgAutopromote and APCOND_BLOCKED to further restrict the rights of blocked users. Another use-case could be the creation of other "blocked groups" where a sysop can (via $wgAddGroups) add a user to a group to allow them to edit pages normally, but prevent them from being able to move pages.