Extension:CategoryControl2
MediaWiki はページごと、またはページの一部ごとのアクセス制限をサポートするようには設計されていません。 このレベルの制御が必要な場合は、ネイティブでサポートするコンテンツ管理システムを使用することを強く推奨します。
アクセス制御を提供すると主張するパッチやサードパーティ拡張機能は、MediaWiki と組み合わせて使用すると、欠陥を含む可能性があり、結果としてセキュリティ上の問題を引き起こし、機密データが流出するおそれがあります。 自己責任で使用してください。 データ漏えいが発生した場合でも、MediaWiki の開発者およびウィキメディア財団は責任を負いません。 このメッセージはこの種のすべての拡張機能に追加されており、この拡張機能の実際のセキュリティ状況を反映しているとは限りません。 詳細情報は 認証拡張機能にまつわるセキュリティ問題 を参照してください。 |
リリースの状態: 安定 |
|
|---|---|
| 実装 | 利用者権限 |
| 説明 | Access control via group and category permissions. |
| 作者 | JLTRYトーク |
| 最新バージョン | 1.0.2 |
| MediaWiki | 1.34+ |
| ライセンス | クリエイティブ・コモンズ 表示-非営利-継承 3.0 |
| ダウンロード | GitHub release v1.0.2 GitHub:
注: |
| CategoryControl2 拡張機能の翻訳にご協力ください | |
The CategoryControl2 extension is meant to provide a very simple and flexible level of Per-Page Access Control by utilizing Categories and usergroups as the control method. It was based on CategoryControl extension (Kevin Kragenbrink, II) that is archived
使用法
Follow the Installation instructions below. Articles to be locked down should be added to a Category that has been specified in the $wgCategoryPermissions array. Users can then be added to the allowed groups using the standard mediawiki user rights management.
ダウンロード手順
Please cut and paste the code found in GitHub release v1.0.2 and place it in $IP/extensions/CategoryControl2/CategoryControl.php.
インストール
この拡張機能をインストールするには、以下を LocalSettings.php に追加してください:
wfLoadExtension( 'CategoryControl2');
構成パラメータ
The $wgCategoryPermissions variable is used to define permissions in groups for each category and action.
If no permissions are defined for a category and action, then permission handling falls back to the standard $wgGroupPermissions.
$wgCategoryPermissions['category']['*'][] = 'sysop'; // Sysops can do anything they want with this category.
$wgCategoryPermissions['category']['*'][] = 'bureaucrat'; // Bureaucrats can do anything they want with this category.
$wgCategoryPermissions['category']['read'] = array( 'newgroup', 'othergroup' ); // Users who are in both NewGroup and OtherGroup can read pages in this category.
