Manual:$wgRevokePermissions/ja

From Linux Web Expert

Revision as of 05:58, 21 October 2022 by imported>Ciencia Al Poder (false translations)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> User rights, access control and monitoring</translate>: $wgRevokePermissions
各グループの利用者から取り消されたアクセス許可キー。
<translate> Introduced in version:</translate>1.16.0 (r52083)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(真偽値の複雑な配列。)
<translate> Default value:</translate>[]

詳細

$wgGroupPermissions を使用すると、利用者グループの権限を設定できます。 $wgRevokePermissionsはいずれかの権限の取り消しを可能にします。 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.

$wgRevokePermissions['sysop']['editinterface'] = true;
結果 (Special:ListGroupRights での表示)
  • Edit the user interface (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.

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> Improperly setting this could mean that your users will be unable to perform certain essential tasks, so use at your own risk!