Manual:$wgGrantPermissionGroups/hu
From Linux Web Expert
<translate> User rights, access control and monitoring</translate>: $wgGrantPermissionGroups | |
---|---|
Jogosultsági csoportok definiálása és ezeken jogok megadása. |
|
<translate> Introduced in version:</translate> | 1.27.0 (Gerrit change 259062; git #ef5bd734) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (asszociatív tömb, amely a jogokat a jogosultsági csoportokhoz rendeli) |
<translate> Default value:</translate> | See below |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Részletek
A jogosultsági csoportok egyes felületeken vannak használva, céljuk az összetartozó jogok csoportosítása.
A konfigurációs változót ne módosítsd, azt a kiterjesztéseknek kell megtenniük.
Új csoportokat egyszerűen, a név megadásával lehet létrehozni.
A felhasználók által látható nevet a grant-group-<name>
üzenettel lehet megadni.
Default value
<translate> ≥</translate> 1.36
<translate> MediaWiki version:</translate> |
$wgGrantPermissionGroups = [
// Hidden grants are implicitly present
'basic' => 'hidden',
'editpage' => 'page-interaction',
'createeditmovepage' => 'page-interaction',
'editprotected' => 'page-interaction',
'patrol' => 'page-interaction',
'uploadfile' => 'file-interaction',
'uploadeditmovefile' => 'file-interaction',
'sendemail' => 'email',
'viewmywatchlist' => 'watchlist-interaction',
'editviewmywatchlist' => 'watchlist-interaction',
'editmycssjs' => 'customization',
'editmyoptions' => 'customization',
'editinterface' => 'administration',
'editsiteconfig' => 'administration', // 1.32+
'rollback' => 'administration',
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
'viewrestrictedlogs' => 'administration', // 1.29+
'protect' => 'administration',
'oversight' => 'administration', // 1.33+
'createaccount' => 'administration',
'mergehistory' => 'administration', // 1.35+
'import' => 'administration', // 1.36+
'highvolume' => 'high-volume',
'privateinfo' => 'private-information', // 1.28+
];
Older versions | ||||||
---|---|---|---|---|---|---|
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.35</tvar> is unsupported version</translate>"> 1.35
$wgGrantPermissionGroups = [
// Hidden grants are implicitly present
'basic' => 'hidden',
'editpage' => 'page-interaction',
'createeditmovepage' => 'page-interaction',
'editprotected' => 'page-interaction',
'patrol' => 'page-interaction',
'uploadfile' => 'file-interaction',
'uploadeditmovefile' => 'file-interaction',
'sendemail' => 'email',
'viewmywatchlist' => 'watchlist-interaction',
'editviewmywatchlist' => 'watchlist-interaction',
'editmycssjs' => 'customization',
'editmyoptions' => 'customization',
'editinterface' => 'administration',
'editsiteconfig' => 'administration', // 1.32+
'rollback' => 'administration',
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
'viewrestrictedlogs' => 'administration', // 1.29+
'protect' => 'administration',
'oversight' => 'administration', // 1.33+
'createaccount' => 'administration',
'mergehistory' => 'administration', // 1.35+
'highvolume' => 'high-volume',
'privateinfo' => 'private-information', // 1.28+
];
1.33 – 1.34
$wgGrantPermissionGroups = [
// Hidden grants are implicitly present
'basic' => 'hidden',
'editpage' => 'page-interaction',
'createeditmovepage' => 'page-interaction',
'editprotected' => 'page-interaction',
'patrol' => 'page-interaction',
'uploadfile' => 'file-interaction',
'uploadeditmovefile' => 'file-interaction',
'sendemail' => 'email',
'viewmywatchlist' => 'watchlist-interaction',
'editviewmywatchlist' => 'watchlist-interaction',
'editmycssjs' => 'customization',
'editmyoptions' => 'customization',
'editinterface' => 'administration',
'editsiteconfig' => 'administration', // 1.32+
'rollback' => 'administration',
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
'viewrestrictedlogs' => 'administration', // 1.29+
'protect' => 'administration',
'oversight' => 'administration', // 1.33+
'createaccount' => 'administration',
'highvolume' => 'high-volume',
'privateinfo' => 'private-information', // 1.28+
];
1.32
$wgGrantPermissionGroups = [
// Hidden grants are implicitly present
'basic' => 'hidden',
'editpage' => 'page-interaction',
'createeditmovepage' => 'page-interaction',
'editprotected' => 'page-interaction',
'patrol' => 'page-interaction',
'uploadfile' => 'file-interaction',
'uploadeditmovefile' => 'file-interaction',
'sendemail' => 'email',
'viewmywatchlist' => 'watchlist-interaction',
'editviewmywatchlist' => 'watchlist-interaction',
'editmycssjs' => 'customization',
'editmyoptions' => 'customization',
'editinterface' => 'administration',
'editsiteconfig' => 'administration', // 1.32+
'rollback' => 'administration',
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
'viewrestrictedlogs' => 'administration', // 1.29+
'protect' => 'administration',
'createaccount' => 'administration',
'highvolume' => 'high-volume',
'privateinfo' => 'private-information', // 1.28+
];
1.29 – 1.31
$wgGrantPermissionGroups = [
// Hidden grants are implicitly present
'basic' => 'hidden',
'editpage' => 'page-interaction',
'createeditmovepage' => 'page-interaction',
'editprotected' => 'page-interaction',
'patrol' => 'page-interaction',
'uploadfile' => 'file-interaction',
'uploadeditmovefile' => 'file-interaction',
'sendemail' => 'email',
'viewmywatchlist' => 'watchlist-interaction',
'editviewmywatchlist' => 'watchlist-interaction',
'editmycssjs' => 'customization',
'editmyoptions' => 'customization',
'editinterface' => 'administration',
'rollback' => 'administration',
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
'viewrestrictedlogs' => 'administration', // 1.29+
'protect' => 'administration',
'createaccount' => 'administration',
'highvolume' => 'high-volume',
'privateinfo' => 'private-information', // 1.28+
];
1.28
$wgGrantPermissionGroups = [
// Hidden grants are implicitly present
'basic' => 'hidden',
'editpage' => 'page-interaction',
'createeditmovepage' => 'page-interaction',
'editprotected' => 'page-interaction',
'patrol' => 'page-interaction',
'uploadfile' => 'file-interaction',
'uploadeditmovefile' => 'file-interaction',
'sendemail' => 'email',
'viewmywatchlist' => 'watchlist-interaction',
'editviewmywatchlist' => 'watchlist-interaction',
'editmycssjs' => 'customization',
'editmyoptions' => 'customization',
'editinterface' => 'administration',
'rollback' => 'administration',
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
'protect' => 'administration',
'createaccount' => 'administration',
'highvolume' => 'high-volume',
'privateinfo' => 'private-information', // 1.28+
];
1.27
$wgGrantPermissionGroups = [
// Hidden grants are implicitly present
'basic' => 'hidden',
'editpage' => 'page-interaction',
'createeditmovepage' => 'page-interaction',
'editprotected' => 'page-interaction',
'patrol' => 'page-interaction',
'uploadfile' => 'file-interaction',
'uploadeditmovefile' => 'file-interaction',
'sendemail' => 'email',
'viewmywatchlist' => 'watchlist-interaction',
'editviewmywatchlist' => 'watchlist-interaction',
'editmycssjs' => 'customization',
'editmyoptions' => 'customization',
'editinterface' => 'administration',
'rollback' => 'administration',
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
'protect' => 'administration',
'createaccount' => 'administration',
'highvolume' => 'high-volume',
];
|
Példa
$wgGrantPermissionGroups['editprotected'] = 'page-interaction';
$wgGrantPermissionGroups['patrol'] = 'page-interaction';
$wgGrantPermissionGroups['uploadfile'] = 'file-interaction';