- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
「ユーザーの種類と権限」の版間の差分
細 (6 版) |
Akira Tachibana (トーク | 投稿記録) 細 (言語間リンク修正) |
||
(5人の利用者による、間の13版が非表示) | |||
1行目: | 1行目: | ||
− | + | ==説明 <span id="Description"></span>== | |
− | + | WordPress の設計では、[[用語集#Site|サイト]]の所有者が各ユーザーに対してサイト内で利用できる機能を管理する際に「[[#Roles|権限グループ]]」の概念を使用します。サイトの所有者は権限グループに各ユーザーを含めることでタスクへのアクセス権を管理できます。タスクには [[管理画面#Posts|投稿の作成と編集]]<!-- [[:en:Writing Posts]] -->, [[管理画面#Pages|ページの作成]]<!-- [[:en:Pages]] -->, [[管理画面#Links|リンクの定義]]<!-- [[:en:Links Manager]] -->, [[管理画面#Categories|カテゴリーの作成]], [[管理画面#Comments|コメントのモデレート]]<!-- [[:en:Comment Moderation]]-->, [[管理画面#Plugins|プラグインの管理]]<!-- [[:en:Managing Plugins]] -->, [[管理画面#Appearance|テーマの管理]]<!-- [[:en:Themes]] -->, and [[管理画面#Users|他のユーザーの管理]]<!-- [[:en:Authors and Users SubPanel]] --> などがあります。 | |
− | + | <!-- 各リンク先を「管理画面」に変更しました。説明が一番さくっと書かれていて、関連ページへのリンクもあるので。 | |
+ | 一応、英語版におけるリンク先をコメントアウトで付記しておきます。 by bono --> | ||
− | + | WordPress にはあらかじめ定義された 6 個の権限グループ [[#Super Admin|特権管理者]]、[[#Administrator|管理者]]、[[#Editor|編集者]]、[[#Author|投稿者]]、[[#Contributor|寄稿者]]、[[#Subscriber|購読者]] があります。各権限グループでは[[用語集#Capabilities|権限]] と呼ばれる一連のタスクの実行が許可されています。権限には 「[[#publish_posts|publish_posts]]」、「[[#moderate_comments|moderate_comments]]」、「[[#edit_users|edit_users]]」を含む多くの種類があります。権限グループにはあらかじめ[[#Capability vs. Role Table|デフォルトの権限]]が設定されていますが、[[関数リファレンス/add_cap|<tt>add_cap()</tt>]]/[[:en:Function Reference/add_cap|en]] 関数や [[関数リファレンス/remove_cap|<tt>remove_cap()</tt>]]/[[:en:Function Reference/remove_cap|en]] 関数を使用して他の権限を付与または削除できます。[[関数リファレンス/add_role|<tt>add_role()</tt>]]/[[:en:Function Reference/add_role|en]] 関数や [[関数リファレンス/remove_role|<tt>remove_role()</tt>]]/[[:en:Function Reference/remove_role|en]] 関数を使用すると、新しい権限グループを導入または削除できます。 | |
− | + | 「[[#Super Admin|特権管理者]]」権限グループに所属するユーザーはすべての権限を実行できます。他の各権限グループは、それぞれ制限された実行可能権限をもちます。たとえば、「[[#Subscriber|購読者]]」権限グループは「[[#read|read]]」権限のみをもちます。ここで、ある権限グループを他の権限グループの上位、または下位の権限グループと見なさないでください。むしろ、サイトにおけるユーザーの責任を定義するものと考えてください。 | |
− | + | ==権限グループの概要 <span id="Summary_of_Roles"></span>== | |
− | + | * [[Super_Admin_Menu|特権管理者]] - サイトネットワーク管理機能や他のすべての機能へアクセスできるユーザー。「[[Create A Network|ネットワークの作成]]」を参照してください。 | |
+ | * [[#Administrator|管理者]] - シングルサイト内のすべての管理機能にアクセスできるユーザー | ||
+ | * [[#Editor|編集者]] - 他のユーザーの投稿を含むすべての投稿を発行、管理できるユーザー | ||
+ | * [[#Author|投稿者]] - 自身の投稿を発行、管理できるユーザー | ||
+ | * [[#Contributor|寄稿者]] - 自身の投稿を編集、管理できるが、発行はできないユーザー | ||
+ | * [[#Subscriber|購読者]] - プロファイル管理のみを実行できるユーザー | ||
− | + | WordPress をインストールすると自動的にすべての権限をもつ「Administrator」アカウントが作成されます。 | |
+ | 新規ユーザーのデフォルトの権限グループを設定するには、[[管理画面]] > [[管理画面#Settings|設定]] > [[管理画面#General|一般設定]] を実行します。 | ||
− | === 2. | + | ==権限グループ <span id="Roles"></span>== |
− | {|border=" | + | |
+ | 「権限グループ」は、属するユーザーが実行権限をもつ一連のタスクを定義します。たとえば、「[[#Super Admin|特権管理者]] 」権限グループには、仮想 WordPress [[用語集#Site|サイト]] の [[用語集#Network|ネットワーク]] 内で実行可能なすべてのタスクが含まれます。「[[#Administrator|管理者]]」権限グループではシングルサイト内で実行可能なすべてのタスクに制限されます。一方「[[#Author|投稿者]]」権限グループはすべてのタスクの中で、わずかなタスクの実行のみが許可されます。 | ||
+ | |||
+ | 次のセクションは、デフォルトの権限グループと含まれる権限のリストです。 | ||
+ | |||
+ | === 特権管理者 <span id="Super Admin"></span>=== | ||
+ | |||
+ | マルチサイトの「特権管理者」権限グループはデフォルトですべての権限をもちます。次のマルチサイト固有の機能は「特権管理者」権限グループのみが実行可能です。 | ||
+ | |||
+ | * [[#manage_network|manage_network]]* [[#update_core|update_core]] | ||
+ | * [[#list_users|list_users]] | ||
+ | * [[#remove_users|remove_users]] | ||
+ | * [[#add_users|add_users]] | ||
+ | * [[#promote_users|promote_users]] | ||
+ | * [[#delete_themes|delete_themes]] | ||
+ | * [[#export|export]] | ||
+ | |||
+ | シングルサイト WordPress 導入では「管理者」権限グループは実質的に「特権管理者」権限グループと同じです。したがってこの 2 つの権限グループのみが[[#Additional Admin Capabilities| 追加の管理者権限]] へのアクセス権をもちます。 | ||
+ | |||
+ | ===管理者 <span id="Administrator"></span>=== | ||
+ | |||
+ | 「管理者」権限グループの権限はシングルサイトと[[Glossary#Multisite|マルチサイト]]の WordPress 導入により異なります。すべての管理者は次の権限をもちます。 | ||
+ | |||
+ | :*[[#activate_plugins|activate_plugins]] | ||
+ | :*[[#delete_others_pages|delete_others_pages]] | ||
+ | :*[[#delete_others_posts|delete_others_posts]] | ||
+ | :*[[#delete_pages|delete_pages]] | ||
+ | :*[[#delete_posts|delete_posts]] | ||
+ | :*[[#delete_private_pages|delete_private_pages]] | ||
+ | :*[[#delete_private_posts|delete_private_posts]] | ||
+ | :*[[#delete_published_pages|delete_published_pages]] | ||
+ | :*[[#delete_published_posts|delete_published_posts]] | ||
+ | :*[[#edit_dashboard|edit_dashboard]] | ||
+ | :*[[#edit_others_pages|edit_others_pages]] | ||
+ | :*[[#edit_others_posts|edit_others_posts]] | ||
+ | :*[[#edit_pages|edit_pages]] | ||
+ | :*[[#edit_posts|edit_posts]] | ||
+ | :*[[#edit_private_pages|edit_private_pages]] | ||
+ | :*[[#edit_private_posts|edit_private_posts]] | ||
+ | :*[[#edit_published_pages|edit_published_pages]] | ||
+ | :*[[#edit_published_posts|edit_published_posts]] | ||
+ | :*[[#edit_theme_options|edit_theme_options]] | ||
+ | :*[[#export|export]] | ||
+ | :*[[#import|import]] | ||
+ | :*[[#list_users|list_users]] | ||
+ | :*[[#manage_categories|manage_categories]] | ||
+ | :*[[#manage_links|manage_links]] | ||
+ | :*[[#manage_options|manage_options]] | ||
+ | :*[[#moderate_comments|moderate_comments]] | ||
+ | :*[[#promote_users|promote_users]] | ||
+ | :*[[#publish_pages|publish_pages]] | ||
+ | :*[[#publish_posts|publish_posts]] | ||
+ | :*[[#read_private_pages|read_private_pages]] | ||
+ | :*[[#read_private_posts|read_private_posts]] | ||
+ | :*[[#read|read]] | ||
+ | :*[[#remove_users|remove_users]] | ||
+ | :*[[#switch_themes|switch_themes]] | ||
+ | :*[[#upload_files|upload_files]] | ||
+ | |||
+ | ==== 追加の管理者権限<span id="Additional_Admin_Capabilities"></span>==== | ||
+ | |||
+ | シングルサイト導入の「管理者」権限グループのみが次の権限をもちます。[[用語集#Multisite|マルチサイト]]では「特権管理者」権限グループのみが次の権限をもちます。 | ||
+ | |||
+ | :*[[#update_core|update_core]] | ||
+ | :*[[#update_plugins|update_plugins]] | ||
+ | :*[[#update_themes|update_themes]] | ||
+ | :*[[#install_plugins|install_plugins]] | ||
+ | :*[[#install_themes|install_themes]] | ||
+ | :*[[#delete_themes|delete_themes]] | ||
+ | :*[[#delete_plugins|delete_plugins]] | ||
+ | :*[[#edit_plugins|edit_plugins]] | ||
+ | :*[[#edit_themes|edit_themes]] | ||
+ | :*[[#edit_files|edit_files]] | ||
+ | :*[[#edit_users|edit_users]] | ||
+ | :*[[#create_users|create_users]] | ||
+ | :*[[#delete_users|delete_users]] | ||
+ | :*[[#unfiltered_html|unfiltered_html]] | ||
+ | |||
+ | ===編集者 <span id="Editor"></span>=== | ||
+ | |||
+ | :*[[#delete_others_pages|delete_others_pages]] | ||
+ | :*[[#delete_others_posts|delete_others_posts]] | ||
+ | :*[[#delete_pages|delete_pages]] | ||
+ | :*[[#delete_posts|delete_posts]] | ||
+ | :*[[#delete_private_pages|delete_private_pages]] | ||
+ | :*[[#delete_private_posts|delete_private_posts]] | ||
+ | :*[[#delete_published_pages|delete_published_pages]] | ||
+ | :*[[#delete_published_posts|delete_published_posts]] | ||
+ | :*[[#edit_others_pages|edit_others_pages]] | ||
+ | :*[[#edit_others_posts|edit_others_posts]] | ||
+ | :*[[#edit_pages|edit_pages]] | ||
+ | :*[[#edit_posts|edit_posts]] | ||
+ | :*[[#edit_private_pages|edit_private_pages]] | ||
+ | :*[[#edit_private_posts|edit_private_posts]] | ||
+ | :*[[#edit_published_pages|edit_published_pages]] | ||
+ | :*[[#edit_published_posts|edit_published_posts]] | ||
+ | :*[[#manage_categories|manage_categories]] | ||
+ | :*[[#manage_links|manage_links]] | ||
+ | :*[[#moderate_comments|moderate_comments]] | ||
+ | :*[[#publish_pages|publish_pages]] | ||
+ | :*[[#publish_posts|publish_posts]] | ||
+ | :*[[#read|read]] | ||
+ | :*[[#read_private_pages|read_private_pages]] | ||
+ | :*[[#read_private_posts|read_private_posts]] (マルチサイトは除外。参照 [http://wordpress.org/extend/plugins/unfiltered-mu/ Unfiltered MU] & [http://wordpress.org/extend/plugins/removekses/ RemoveKses]) | ||
+ | :*[[#unfiltered_html|unfiltered_html]] | ||
+ | :*[[#upload_files|upload_files]] | ||
+ | |||
+ | ===投稿者 <span id="Author"></span>=== | ||
+ | |||
+ | :*[[#delete_posts|delete_posts]] | ||
+ | :*[[#delete_published_posts|delete_published_posts]] | ||
+ | :*[[#edit_posts|edit_posts]] | ||
+ | :*[[#edit_published_posts|edit_published_posts]] | ||
+ | :*[[#publish_posts|publish_posts]] | ||
+ | :*[[#read|read]] | ||
+ | :*[[#upload_files|upload_files]] | ||
+ | |||
+ | ===寄稿者 <span id="Contributor"></span>=== | ||
+ | |||
+ | :*[[#delete_posts|delete_posts]] | ||
+ | :*[[#edit_posts|edit_posts]] | ||
+ | :*[[#read|read]] | ||
+ | |||
+ | ===特別なケース<span id="Special_Cases"></span>=== | ||
+ | |||
+ | 次の権限は特別なケースです。 | ||
+ | |||
+ | :*[[#unfiltered_upload|unfiltered_upload]] - この権現はデフォルトでは「特権管理者」権限グループを含むどの権限グループも実行できません。この権現を実行するには、次の定数を定義する必要があります。 | ||
+ | |||
+ | <pre>define( 'ALLOW_UNFILTERED_UPLOADS', true );</pre> | ||
+ | |||
+ | この定数が定義されると、シングルサイト導入のすべての権限グループに unfiltered_upload 権限が付与されます。ただしマルチサイト導入では「特権管理者」権限グループにのみ付与されます。 | ||
+ | |||
+ | ===購読者 <span id="Subscriber"></span>=== | ||
+ | |||
+ | :*[[#read|read]] | ||
+ | |||
+ | ===権限・権限グループテーブル <span id="Capability_vs._Role_Table"></span>=== | ||
+ | |||
+ | <!-- Using "text-align !important" rather than "align" because the sitewide css stupidly aligns left using !important. Someone needs to see http://www.slideshare.net/stubbornella/our-best-practices-are-killing-us. --> | ||
+ | |||
+ | 注:上記のように、管理者の能力は、シングルサイトとマルチサイトのWordPressのインストールとで異なることに注意してください。 | ||
+ | |||
+ | {| class="widefat" style="border:1px solid #eee" | ||
+ | |- style="background:#464646; color:#d7d7d7;" | ||
+ | ! 権限!!特権管理者!!管理者!!編集者!!投稿者!!寄稿者!!購読者 | ||
|- | |- | ||
− | ! | + | |manage_network||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||||| |
|- | |- | ||
− | + | |manage_sites||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||||| | |
− | |style=" | + | |
|- | |- | ||
− | + | |manage_network_users||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||||| | |
− | |style=" | + | |
|- | |- | ||
− | + | |manage_network_plugins||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||||| | |
− | |style=" | + | |
|- | |- | ||
− | + | |manage_network_themes||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||||| | |
− | |style=" | + | |
|- | |- | ||
− | ! | + | |manage_network_options||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||||| |
− | |style="background | + | |- style="background:#464646; color:#d7d7d7;" |
+ | ! 権限!!特権管理者!!管理者!!編集者!!投稿者!!寄稿者!!購読者 | ||
|- | |- | ||
− | ! | + | |activate_plugins||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ <br/>(シングルサイトまたは<br/>ネットワーク設定で有効化) |||||||| |
− | |style=" | + | |
|- | |- | ||
− | ! | + | |create_users||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| |
− | |style=" | + | |
|- | |- | ||
− | ! | + | |delete_plugins||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| |
− | |style=" | + | |
|- | |- | ||
− | + | |delete_themes||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | + | |delete_users||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | + | |edit_files||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | + | |edit_plugins||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | + | |edit_theme_options||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | + | |edit_themes||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | + | |edit_users||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | + | |export||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| | |
− | | | + | |
− | + | ||
− | |style=" | + | |
|- | |- | ||
− | + | |import||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| | |
− | |style=" | + | |- style="background:#464646; color:#d7d7d7;" |
− | |style=" | + | ! 権限!!特権管理者!!管理者!!編集者!!投稿者!!寄稿者!!購読者 |
− | |style="background | + | |
|- | |- | ||
− | + | |install_plugins||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
|- | |- | ||
− | + | |install_themes||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | | | + | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | |style=" | + | |list_users||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| |
− | | | + | |
|- | |- | ||
− | |style=" | + | |manage_options||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| |
− | | | + | |
|- | |- | ||
− | |style=" | + | |promote_users||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| |
− | | | + | |
|- | |- | ||
− | ! | + | |remove_users||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| |
|- | |- | ||
− | ! ! | + | |switch_themes||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| |
|- | |- | ||
− | ! | + | |update_core||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| |
|- | |- | ||
− | + | |update_plugins||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| | |
− | | | + | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
|- | |- | ||
− | ! | + | |update_themes||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ (シングルサイト) |||||||| |
|- | |- | ||
− | + | |edit_dashboard||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||||| | |
− | | | + | |- style="background:#464646; color:#d7d7d7;" |
− | | | + | ! 権限!!特権管理者!!管理者!!編集者!!投稿者!!寄稿者!!購読者 |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
− | |style="background | + | |
− | + | ||
|- | |- | ||
− | | | + | |moderate_comments||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| |
− | | | + | |
|- | |- | ||
− | + | |manage_categories||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
|- | |- | ||
− | ! | + | |manage_links||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| |
|- | |- | ||
− | + | |edit_others_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | | | + | |edit_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| |
− | | | + | |
|- | |- | ||
− | + | |edit_others_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
|- | |- | ||
− | + | |edit_published_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | | | + | |publish_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| |
− | | | + | |
|- | |- | ||
− | + | |delete_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | + | |delete_others_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | | | + | |delete_published_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| |
− | | | + | |
|- | |- | ||
− | ! | + | |delete_others_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| |
|- | |- | ||
− | + | |delete_private_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
|- | |- | ||
− | + | |edit_private_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
|- | |- | ||
− | + | |read_private_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
|- | |- | ||
− | + | |delete_private_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
|- | |- | ||
− | ! | + | |edit_private_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| |
|- | |- | ||
− | + | |read_private_pages||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| | |
− | |style=" | + | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | ! | + | |unfiltered_html||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||||| |
− | |style=" | + | |- style="background:#464646; color:#d7d7d7;" |
− | |style=" | + | ! 権限!!特権管理者!!管理者!!編集者!!投稿者!!寄稿者!!購読者 |
− | |style="background | + | |
|- | |- | ||
− | ! | + | |edit_published_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||| |
|- | |- | ||
− | ! | + | |upload_files||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||| |
− | |style=" | + | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | ! | + | |publish_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||| |
− | |style=" | + | |
− | |style=" | + | |
− | |style=" | + | |
|- | |- | ||
− | ! | + | |delete_published_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |||| |
|- | |- | ||
− | + | |edit_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ || | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
|- | |- | ||
− | + | |delete_posts||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ || | |
− | |style=" | + | |- style="background:#464646; color:#d7d7d7;" |
− | |style=" | + | ! 権限!!特権管理者!!管理者!!編集者!!投稿者!!寄稿者!!購読者 |
− | |style=" | + | |
− | |style=" | + | |
− | |style=" | + | |
− | |style="background | + | |
|- | |- | ||
− | | | + | |read||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ ||bgcolor="#ABCDEF" style="text-align:center !important"| ◯ |
− | | | + | |} |
+ | |||
+ | ==権限 <span id="Capabilities"></span>== | ||
+ | |||
+ | ===switch_themes=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | **外観 | ||
+ | **外観 > テーマ | ||
+ | |||
+ | ===edit_themes=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 外観 > [[Appearance Editor SubPanel|テーマエディター]]へのアクセスを許可し、テーマを編集できるようにします。 | ||
+ | |||
+ | ===edit_theme_options=== | ||
+ | |||
+ | * バージョン 3.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** 外観 > [[Appearance Background SubPanel|背景]] | ||
+ | ** 外観 > [[Appearance Header SubPanel|ヘッダー]] | ||
+ | ** 外観 > [[Appearance Menus SubPanel|メニュー]] | ||
+ | ** 外観 > [[Appearance Widgets SubPanel|ウィジェット]] | ||
+ | ** またテーマにオプションのページが含まれていれば、ページヘのアクセスを許可 | ||
+ | |||
+ | ===install_themes=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** 外観 > テーマの新規追加 | ||
+ | |||
+ | ===activate_plugins=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** [[管理画面#.E3.83.97.E3.83.A9.E3.82.B0.E3.82.A4.E3.83.B3|プラグイン]] | ||
+ | |||
+ | ===edit_plugins=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** [[管理画面#.E3.83.97.E3.83.A9.E3.82.B0.E3.82.A4.E3.83.B3|プラグイン]] > [[管理画面#Edit Plugins|エディタ]] | ||
+ | |||
+ | ===install_plugins=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** [[管理画面#.E3.83.97.E3.83.A9.E3.82.B0.E3.82.A4.E3.83.B3|プラグイン]] > 新規追加 | ||
+ | |||
+ | ===edit_users=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** [[管理画面#.E3.83.A6.E3.83.BC.E3.82.B6.E3.83.BC_-_.E3.81.82.E3.81.AA.E3.81.9F.E3.81.AE.E3.83.96.E3.83.AD.E3.82.B0.E4.BB.B2.E9.96.93.E3.81.9F.E3.81.A1|ユーザー]] | ||
+ | |||
+ | ===edit_files=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * '''注''': 現在使われていません。 | ||
+ | |||
+ | ===manage_options=== | ||
+ | |||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** 設定 > 一般設定 | ||
+ | ** 設定 > 投稿設定 | ||
+ | ** 設定 > 表示設定 | ||
+ | ** 設定 > ディスカッション | ||
+ | ** 設定 > パーマリンク設定 | ||
+ | <!-- *設定 > Miscellaneous --> | ||
+ | |||
+ | ===moderate_comments=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 管理画面「[[Comments_Comments_SubPanel|コメント]]」からコメントのモデレートを許可 (ただしアクセスするには [[#edit_posts|edit_posts]] 権限が必要)。 | ||
+ | |||
+ | |||
+ | ===manage_categories=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** 投稿 > カテゴリー | ||
+ | |||
+ | ===manage_links=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** リンク | ||
+ | ** リンク > 新規追加 | ||
+ | |||
+ | ===upload_files=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** メディア | ||
+ | ** メディア > 新規追加 | ||
+ | |||
+ | ===import=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** ツール > インポート | ||
+ | ** ツール > エクスポート | ||
+ | |||
+ | ===unfiltered_html=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * HTMLマークアップ、またはページ、投稿、コメント内への JavaScript コードの投稿を許可。 | ||
+ | * '''注:''' 信頼できないユーザーに対してこのオプションを有効にした場合、悪意のあるコードや不正な形式のコードを投稿されるかもしれません。 | ||
+ | |||
+ | ===edit_posts=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** 投稿 | ||
+ | ** 投稿 > 新規追加 | ||
+ | ** コメント | ||
+ | ** コメント > 承認待ち | ||
+ | |||
+ | ===edit_others_posts=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** 管理 > コメント (''ユーザーはすべてのコメントを削除または編集できます。参照 edit_posts'') | ||
+ | * ユーザーは関数 get_others_drafts() を使用して他のユーザーの投稿を編集できます。 | ||
+ | * ユーザーは他のユーザーの inline-uploading 内の画像を参照できます [違う? 参照 [http://trac.wordpress.org/file/trunk/wp-admin/inline-uploading.php inline-uploading.php]] | ||
+ | * [[#Exceptions|例外]]を参照。 | ||
+ | |||
+ | ===edit_published_posts=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * ユーザーは自身の発行された投稿を編集できます。''この機能はデフォルトでは無効です。'' | ||
+ | * コアは権限 '''edit_posts''' を検証しますが、動的に '''edit_published_posts''' の検証に変わります。 | ||
+ | * ユーザーによる発行された投稿の編集を禁止するには、この権現を削除します。''(参照 [http://www.im-web-gefunden.de/wordpress-plugins/role-manager/#comment-5602 this comment] on the [http://www.im-web-gefunden.de/wordpress-plugins/role-manager/ Role Manager Plugin Homepage])'' | ||
+ | |||
+ | ===publish_posts=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | |||
+ | ===edit_pages=== | ||
+ | |||
+ | * バージョン 2.0 より導入 | ||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** ページ | ||
+ | ** ページ > 新規追加 | ||
+ | |||
+ | ===read=== | ||
+ | |||
+ | * 以下の[[管理画面]]設定へのアクセスを許可。 | ||
+ | ** [[Dashboard Dashboard SubPanel|ダッシュボード]] | ||
+ | ** ユーザー > あなたのプロフィール | ||
+ | * ''menu.php 以外のコアコード内では使われていません。'' | ||
+ | |||
+ | ===edit_others_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===edit_published_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===edit_published_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_others_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_published_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_posts=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_others_posts=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_published_posts=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_private_posts=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===edit_private_posts=== | ||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===read_private_posts=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_private_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===edit_private_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===read_private_pages=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===delete_users=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===create_users=== | ||
+ | |||
+ | * バージョン 2.1 より導入 | ||
+ | |||
+ | ===unfiltered_upload=== | ||
+ | |||
+ | * バージョン 2.3 より導入 | ||
+ | |||
+ | ===edit_dashboard=== | ||
+ | |||
+ | * バージョン 2.5 より導入 | ||
+ | |||
+ | ===update_plugins=== | ||
+ | |||
+ | * バージョン 2.6 より導入 | ||
+ | |||
+ | ===delete_plugins=== | ||
+ | |||
+ | * バージョン 2.6 より導入 | ||
+ | |||
+ | ===update_core=== | ||
+ | |||
+ | * バージョン 3.0 より導入 | ||
+ | |||
+ | ===list_users=== | ||
+ | |||
+ | * バージョン 3.0 より導入 | ||
+ | |||
+ | ===remove_users=== | ||
+ | |||
+ | * バージョン 3.0 より導入 | ||
+ | |||
+ | ===add_users=== | ||
+ | |||
+ | * バージョン 3.0 より導入 | ||
+ | |||
+ | ===promote_users=== | ||
+ | |||
+ | * バージョン 3.0 より導入 | ||
+ | |||
+ | ===delete_themes=== | ||
+ | |||
+ | * バージョン 3.0 より導入 | ||
+ | |||
+ | ===export=== | ||
+ | |||
+ | * バージョン 3.0 より導入 | ||
+ | |||
+ | ===edit_comment=== | ||
+ | |||
+ | * バージョン 3.1 より導入 | ||
+ | |||
+ | ==ユーザーレベル== | ||
+ | |||
+ | WordPress Version 2.0 以前には [[:en:User Levels|ユーザーレベル]] システムが使用されていましたが、Version 2.0 において今日見られる、より改良され拡張された「権限グループ」と「権限」のシステムに置き換えられました。未だにユーザーレベルシステムを使用するプラグイン(非推奨ですが)との後方互換性のため WordPress のデフォルトの権限グループはユーザーレベルに関連する権限も含みます。なお、'''ユーザーレベルは最終的に、バージョン3.0で非推奨となりました。''' | ||
+ | |||
+ | {| class="widefat" | ||
+ | |- style="background:#464646; color:#d7d7d7;" | ||
+ | ! 権限!!管理者!!編集者!!投稿者!!寄稿者!!購読者 | ||
|- | |- | ||
− | + | |level_10||bgcolor="#ABCDEF"| |||||||| | |
|- | |- | ||
− | + | |level_9||bgcolor="#ABCDEF"| |||||||| | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | + | |level_8||bgcolor="#ABCDEF"| |||||||| | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | + | |level_7||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| |||||| | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | + | |level_6||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| |||||| | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | + | |level_5||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| |||||| | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | + | |level_4||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| || || || | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
|- | |- | ||
− | + | |level_3||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| || || || | |
|- | |- | ||
− | + | |level_2||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| || || | |
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
|- | |- | ||
− | + | |level_1||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| || | |
+ | |- | ||
+ | |level_0||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| ||bgcolor="#ABCDEF"| | ||
|} | |} | ||
− | + | ==ユーザーレベルから権限グループへの変換 <span id="User_Level_to_Role_Conversion"></span>== | |
− | {{原文| | + | |
+ | *ユーザーレベル0は[[#Subscriber|購読者]]に変換 | ||
+ | *ユーザーレベル1は[[#Contributor|寄稿者]]に変換 | ||
+ | *ユーザーレベル2は[[#Author|投稿者]]に変換 | ||
+ | *ユーザーレベル3、4、5、6、7は[[#Editor|編集者]]に変換 | ||
+ | *ユーザーレベル8、9、10は[[#Administrator|管理者]]に変換 | ||
+ | |||
+ | == 変更履歴 <span id="Change Log"></span>== | ||
+ | |||
+ | * [[Version 1.5|1.5]]: 「ユーザーレベル」システムを導入 | ||
+ | * [[Version 2.0|2.0]]: 「権限グループ」と「権限」システムを導入 | ||
+ | * [[Version 3.0|3.0]]: 「ユーザーレベル」システムを非推奨。「特権管理者」権限グループを導入 | ||
+ | |||
+ | ==リソース <span id="Resources"></span>== | ||
+ | |||
+ | ===プラグイン <span id="Plugins"></span>=== | ||
+ | * [http://wordpress.org/extend/plugins/members/ Members プラグイン] | ||
+ | * [http://wordpress.org/extend/plugins/role-scoper/ Role Scoper プラグイン] | ||
+ | * [http://wordpress.org/extend/plugins/user-access-manager/ User Access Manager プラグイン] | ||
+ | * [http://wordpress.org/extend/plugins/advanced-access-manager/ Advanced Access Manager プラグイン] | ||
+ | * [http://wordpress.org/extend/plugins/user-role-editor/ User Role Editor プラグイン] | ||
+ | * [http://wordpress.org/extend/plugins/wpfront-user-role-editor/ WordPress User Role Editor] | ||
+ | |||
+ | ===情報 <span id="Information"></span>=== | ||
+ | * [http://boren.nu/archives/2005/12/01/whats-new-in-20-roles-and-capabilities/ Ryan Boren's What's New in 2.0: Roles and Capabilities] | ||
+ | * [https://wpfront.com/wordpress-plugins/user-role-editor-plugin/wordpress-capabilities/ WordPress Capabilities] | ||
+ | |||
+ | ===開発者向け <span id="Dev"></span>=== | ||
+ | * [http://solislab.com/ultimate-guide-to-roles-and-capabilities/ Ultimate Guide to Roles and Capabilities] | ||
+ | * [http://lists.automattic.com/pipermail/wp-hackers/2005-July/001707.html Hackers email list Original User Capability discussion] | ||
+ | * 関連する関数: [[Function Reference/current_user_can|<tt>current_user_can()</tt>]] /[[:en:Function Reference/current_user_can|en]], [[関数リファレンス/user_can|<tt>user_can()</tt>]] / [[:en:Function Reference/user_can|en]] | ||
+ | * プログラムからユーザーの権限グループや権限を設定、取得するには [[クラスリファレンス/WP_User|<tt>WP_User</tt>]] /[[:en:Class Reference/WP_User|en]] クラスを使用します。 | ||
+ | |||
+ | ===関連文書<span id="Other Codex Articles"></span>=== | ||
+ | {{Role and Capability Tags}} | ||
+ | |||
+ | {{原文|Roles and Capabilities|151255}}<!-- 15:45, 29 April 2015 Miqrogroove 版 --> | ||
{{DEFAULTSORT:ゆうさあのしゆるいとけんけん}} | {{DEFAULTSORT:ゆうさあのしゆるいとけんけん}} | ||
381行目: | 633行目: | ||
[[Category:設置]] | [[Category:設置]] | ||
[[Category:UI Link]] | [[Category:UI Link]] | ||
− | |||
[[en:Roles and Capabilities]] | [[en:Roles and Capabilities]] | ||
− | [[ | + | [[es:Roles y Capacidades]] |
+ | [[fr:Rôles et Capacités]] | ||
+ | [[ja:ユーザーの種類と権限]] | ||
+ | [[pt-br:Papéis e Capacidades]] | ||
+ | [[zh-cn:用户角色和权限]] |
2015年5月24日 (日) 22:00時点における最新版
目次
- 1 説明
- 2 権限グループの概要
- 3 権限グループ
- 4 権限
- 4.1 switch_themes
- 4.2 edit_themes
- 4.3 edit_theme_options
- 4.4 install_themes
- 4.5 activate_plugins
- 4.6 edit_plugins
- 4.7 install_plugins
- 4.8 edit_users
- 4.9 edit_files
- 4.10 manage_options
- 4.11 moderate_comments
- 4.12 manage_categories
- 4.13 manage_links
- 4.14 upload_files
- 4.15 import
- 4.16 unfiltered_html
- 4.17 edit_posts
- 4.18 edit_others_posts
- 4.19 edit_published_posts
- 4.20 publish_posts
- 4.21 edit_pages
- 4.22 read
- 4.23 edit_others_pages
- 4.24 edit_published_pages
- 4.25 edit_published_pages
- 4.26 delete_pages
- 4.27 delete_others_pages
- 4.28 delete_published_pages
- 4.29 delete_posts
- 4.30 delete_others_posts
- 4.31 delete_published_posts
- 4.32 delete_private_posts
- 4.33 edit_private_posts
- 4.34 read_private_posts
- 4.35 delete_private_pages
- 4.36 edit_private_pages
- 4.37 read_private_pages
- 4.38 delete_users
- 4.39 create_users
- 4.40 unfiltered_upload
- 4.41 edit_dashboard
- 4.42 update_plugins
- 4.43 delete_plugins
- 4.44 update_core
- 4.45 list_users
- 4.46 remove_users
- 4.47 add_users
- 4.48 promote_users
- 4.49 delete_themes
- 4.50 export
- 4.51 edit_comment
- 5 ユーザーレベル
- 6 ユーザーレベルから権限グループへの変換
- 7 変更履歴
- 8 リソース
説明
WordPress の設計では、サイトの所有者が各ユーザーに対してサイト内で利用できる機能を管理する際に「権限グループ」の概念を使用します。サイトの所有者は権限グループに各ユーザーを含めることでタスクへのアクセス権を管理できます。タスクには 投稿の作成と編集, ページの作成, リンクの定義, カテゴリーの作成, コメントのモデレート, プラグインの管理, テーマの管理, and 他のユーザーの管理 などがあります。
WordPress にはあらかじめ定義された 6 個の権限グループ 特権管理者、管理者、編集者、投稿者、寄稿者、購読者 があります。各権限グループでは権限 と呼ばれる一連のタスクの実行が許可されています。権限には 「publish_posts」、「moderate_comments」、「edit_users」を含む多くの種類があります。権限グループにはあらかじめデフォルトの権限が設定されていますが、add_cap()/en 関数や remove_cap()/en 関数を使用して他の権限を付与または削除できます。add_role()/en 関数や remove_role()/en 関数を使用すると、新しい権限グループを導入または削除できます。
「特権管理者」権限グループに所属するユーザーはすべての権限を実行できます。他の各権限グループは、それぞれ制限された実行可能権限をもちます。たとえば、「購読者」権限グループは「read」権限のみをもちます。ここで、ある権限グループを他の権限グループの上位、または下位の権限グループと見なさないでください。むしろ、サイトにおけるユーザーの責任を定義するものと考えてください。
権限グループの概要
- 特権管理者 - サイトネットワーク管理機能や他のすべての機能へアクセスできるユーザー。「ネットワークの作成」を参照してください。
- 管理者 - シングルサイト内のすべての管理機能にアクセスできるユーザー
- 編集者 - 他のユーザーの投稿を含むすべての投稿を発行、管理できるユーザー
- 投稿者 - 自身の投稿を発行、管理できるユーザー
- 寄稿者 - 自身の投稿を編集、管理できるが、発行はできないユーザー
- 購読者 - プロファイル管理のみを実行できるユーザー
WordPress をインストールすると自動的にすべての権限をもつ「Administrator」アカウントが作成されます。
新規ユーザーのデフォルトの権限グループを設定するには、管理画面 > 設定 > 一般設定 を実行します。
権限グループ
「権限グループ」は、属するユーザーが実行権限をもつ一連のタスクを定義します。たとえば、「特権管理者 」権限グループには、仮想 WordPress サイト の ネットワーク 内で実行可能なすべてのタスクが含まれます。「管理者」権限グループではシングルサイト内で実行可能なすべてのタスクに制限されます。一方「投稿者」権限グループはすべてのタスクの中で、わずかなタスクの実行のみが許可されます。
次のセクションは、デフォルトの権限グループと含まれる権限のリストです。
特権管理者
マルチサイトの「特権管理者」権限グループはデフォルトですべての権限をもちます。次のマルチサイト固有の機能は「特権管理者」権限グループのみが実行可能です。
シングルサイト WordPress 導入では「管理者」権限グループは実質的に「特権管理者」権限グループと同じです。したがってこの 2 つの権限グループのみが 追加の管理者権限 へのアクセス権をもちます。
管理者
「管理者」権限グループの権限はシングルサイトとマルチサイトの WordPress 導入により異なります。すべての管理者は次の権限をもちます。
- activate_plugins
- delete_others_pages
- delete_others_posts
- delete_pages
- delete_posts
- delete_private_pages
- delete_private_posts
- delete_published_pages
- delete_published_posts
- edit_dashboard
- edit_others_pages
- edit_others_posts
- edit_pages
- edit_posts
- edit_private_pages
- edit_private_posts
- edit_published_pages
- edit_published_posts
- edit_theme_options
- export
- import
- list_users
- manage_categories
- manage_links
- manage_options
- moderate_comments
- promote_users
- publish_pages
- publish_posts
- read_private_pages
- read_private_posts
- read
- remove_users
- switch_themes
- upload_files
追加の管理者権限
シングルサイト導入の「管理者」権限グループのみが次の権限をもちます。マルチサイトでは「特権管理者」権限グループのみが次の権限をもちます。
編集者
- delete_others_pages
- delete_others_posts
- delete_pages
- delete_posts
- delete_private_pages
- delete_private_posts
- delete_published_pages
- delete_published_posts
- edit_others_pages
- edit_others_posts
- edit_pages
- edit_posts
- edit_private_pages
- edit_private_posts
- edit_published_pages
- edit_published_posts
- manage_categories
- manage_links
- moderate_comments
- publish_pages
- publish_posts
- read
- read_private_pages
- read_private_posts (マルチサイトは除外。参照 Unfiltered MU & RemoveKses)
- unfiltered_html
- upload_files
投稿者
寄稿者
特別なケース
次の権限は特別なケースです。
- unfiltered_upload - この権現はデフォルトでは「特権管理者」権限グループを含むどの権限グループも実行できません。この権現を実行するには、次の定数を定義する必要があります。
define( 'ALLOW_UNFILTERED_UPLOADS', true );
この定数が定義されると、シングルサイト導入のすべての権限グループに unfiltered_upload 権限が付与されます。ただしマルチサイト導入では「特権管理者」権限グループにのみ付与されます。
購読者
権限・権限グループテーブル
注:上記のように、管理者の能力は、シングルサイトとマルチサイトのWordPressのインストールとで異なることに注意してください。
権限 | 特権管理者 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 |
---|---|---|---|---|---|---|
manage_network | ◯ | |||||
manage_sites | ◯ | |||||
manage_network_users | ◯ | |||||
manage_network_plugins | ◯ | |||||
manage_network_themes | ◯ | |||||
manage_network_options | ◯ | |||||
権限 | 特権管理者 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 |
activate_plugins | ◯ | ◯ (シングルサイトまたは ネットワーク設定で有効化) |
||||
create_users | ◯ | ◯ (シングルサイト) | ||||
delete_plugins | ◯ | ◯ (シングルサイト) | ||||
delete_themes | ◯ | ◯ (シングルサイト) | ||||
delete_users | ◯ | ◯ (シングルサイト) | ||||
edit_files | ◯ | ◯ (シングルサイト) | ||||
edit_plugins | ◯ | ◯ (シングルサイト) | ||||
edit_theme_options | ◯ | ◯ | ||||
edit_themes | ◯ | ◯ (シングルサイト) | ||||
edit_users | ◯ | ◯ (シングルサイト) | ||||
export | ◯ | ◯ | ||||
import | ◯ | ◯ | ||||
権限 | 特権管理者 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 |
install_plugins | ◯ | ◯ (シングルサイト) | ||||
install_themes | ◯ | ◯ (シングルサイト) | ||||
list_users | ◯ | ◯ | ||||
manage_options | ◯ | ◯ | ||||
promote_users | ◯ | ◯ | ||||
remove_users | ◯ | ◯ | ||||
switch_themes | ◯ | ◯ | ||||
update_core | ◯ | ◯ (シングルサイト) | ||||
update_plugins | ◯ | ◯ (シングルサイト) | ||||
update_themes | ◯ | ◯ (シングルサイト) | ||||
edit_dashboard | ◯ | ◯ | ||||
権限 | 特権管理者 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 |
moderate_comments | ◯ | ◯ | ◯ | |||
manage_categories | ◯ | ◯ | ◯ | |||
manage_links | ◯ | ◯ | ◯ | |||
edit_others_posts | ◯ | ◯ | ◯ | |||
edit_pages | ◯ | ◯ | ◯ | |||
edit_others_pages | ◯ | ◯ | ◯ | |||
edit_published_pages | ◯ | ◯ | ◯ | |||
publish_pages | ◯ | ◯ | ◯ | |||
delete_pages | ◯ | ◯ | ◯ | |||
delete_others_pages | ◯ | ◯ | ◯ | |||
delete_published_pages | ◯ | ◯ | ◯ | |||
delete_others_posts | ◯ | ◯ | ◯ | |||
delete_private_posts | ◯ | ◯ | ◯ | |||
edit_private_posts | ◯ | ◯ | ◯ | |||
read_private_posts | ◯ | ◯ | ◯ | |||
delete_private_pages | ◯ | ◯ | ◯ | |||
edit_private_pages | ◯ | ◯ | ◯ | |||
read_private_pages | ◯ | ◯ | ◯ | |||
unfiltered_html | ◯ | ◯ | ◯ | |||
権限 | 特権管理者 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 |
edit_published_posts | ◯ | ◯ | ◯ | ◯ | ||
upload_files | ◯ | ◯ | ◯ | ◯ | ||
publish_posts | ◯ | ◯ | ◯ | ◯ | ||
delete_published_posts | ◯ | ◯ | ◯ | ◯ | ||
edit_posts | ◯ | ◯ | ◯ | ◯ | ◯ | |
delete_posts | ◯ | ◯ | ◯ | ◯ | ◯ | |
権限 | 特権管理者 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 |
read | ◯ | ◯ | ◯ | ◯ | ◯ | ◯ |
権限
switch_themes
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- 外観
- 外観 > テーマ
edit_themes
- バージョン 2.0 より導入
- 外観 > テーマエディターへのアクセスを許可し、テーマを編集できるようにします。
edit_theme_options
- バージョン 3.0 より導入
- 以下の管理画面設定へのアクセスを許可。
install_themes
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- 外観 > テーマの新規追加
activate_plugins
edit_plugins
install_plugins
edit_users
edit_files
- バージョン 2.0 より導入
- 注: 現在使われていません。
manage_options
- 以下の管理画面設定へのアクセスを許可。
- 設定 > 一般設定
- 設定 > 投稿設定
- 設定 > 表示設定
- 設定 > ディスカッション
- 設定 > パーマリンク設定
moderate_comments
- バージョン 2.0 より導入
- 管理画面「コメント」からコメントのモデレートを許可 (ただしアクセスするには edit_posts 権限が必要)。
manage_categories
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- 投稿 > カテゴリー
manage_links
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- リンク
- リンク > 新規追加
upload_files
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- メディア
- メディア > 新規追加
import
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- ツール > インポート
- ツール > エクスポート
unfiltered_html
- バージョン 2.0 より導入
- HTMLマークアップ、またはページ、投稿、コメント内への JavaScript コードの投稿を許可。
- 注: 信頼できないユーザーに対してこのオプションを有効にした場合、悪意のあるコードや不正な形式のコードを投稿されるかもしれません。
edit_posts
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- 投稿
- 投稿 > 新規追加
- コメント
- コメント > 承認待ち
edit_others_posts
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- 管理 > コメント (ユーザーはすべてのコメントを削除または編集できます。参照 edit_posts)
- ユーザーは関数 get_others_drafts() を使用して他のユーザーの投稿を編集できます。
- ユーザーは他のユーザーの inline-uploading 内の画像を参照できます [違う? 参照 inline-uploading.php]
- 例外を参照。
edit_published_posts
- バージョン 2.0 より導入
- ユーザーは自身の発行された投稿を編集できます。この機能はデフォルトでは無効です。
- コアは権限 edit_posts を検証しますが、動的に edit_published_posts の検証に変わります。
- ユーザーによる発行された投稿の編集を禁止するには、この権現を削除します。(参照 this comment on the Role Manager Plugin Homepage)
publish_posts
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
edit_pages
- バージョン 2.0 より導入
- 以下の管理画面設定へのアクセスを許可。
- ページ
- ページ > 新規追加
read
edit_others_pages
- バージョン 2.1 より導入
edit_published_pages
- バージョン 2.1 より導入
edit_published_pages
- バージョン 2.1 より導入
delete_pages
- バージョン 2.1 より導入
delete_others_pages
- バージョン 2.1 より導入
delete_published_pages
- バージョン 2.1 より導入
delete_posts
- バージョン 2.1 より導入
delete_others_posts
- バージョン 2.1 より導入
delete_published_posts
- バージョン 2.1 より導入
delete_private_posts
- バージョン 2.1 より導入
edit_private_posts
- バージョン 2.1 より導入
read_private_posts
- バージョン 2.1 より導入
delete_private_pages
- バージョン 2.1 より導入
edit_private_pages
- バージョン 2.1 より導入
read_private_pages
- バージョン 2.1 より導入
delete_users
- バージョン 2.1 より導入
create_users
- バージョン 2.1 より導入
unfiltered_upload
- バージョン 2.3 より導入
edit_dashboard
- バージョン 2.5 より導入
update_plugins
- バージョン 2.6 より導入
delete_plugins
- バージョン 2.6 より導入
update_core
- バージョン 3.0 より導入
list_users
- バージョン 3.0 より導入
remove_users
- バージョン 3.0 より導入
add_users
- バージョン 3.0 より導入
promote_users
- バージョン 3.0 より導入
delete_themes
- バージョン 3.0 より導入
export
- バージョン 3.0 より導入
edit_comment
- バージョン 3.1 より導入
ユーザーレベル
WordPress Version 2.0 以前には ユーザーレベル システムが使用されていましたが、Version 2.0 において今日見られる、より改良され拡張された「権限グループ」と「権限」のシステムに置き換えられました。未だにユーザーレベルシステムを使用するプラグイン(非推奨ですが)との後方互換性のため WordPress のデフォルトの権限グループはユーザーレベルに関連する権限も含みます。なお、ユーザーレベルは最終的に、バージョン3.0で非推奨となりました。
権限 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 |
---|---|---|---|---|---|
level_10 | |||||
level_9 | |||||
level_8 | |||||
level_7 | |||||
level_6 | |||||
level_5 | |||||
level_4 | |||||
level_3 | |||||
level_2 | |||||
level_1 | |||||
level_0 |
ユーザーレベルから権限グループへの変換
変更履歴
リソース
プラグイン
- Members プラグイン
- Role Scoper プラグイン
- User Access Manager プラグイン
- Advanced Access Manager プラグイン
- User Role Editor プラグイン
- WordPress User Role Editor
情報
開発者向け
- Ultimate Guide to Roles and Capabilities
- Hackers email list Original User Capability discussion
- 関連する関数: current_user_can() /en, user_can() / en
- プログラムからユーザーの権限グループや権限を設定、取得するには WP_User /en クラスを使用します。
関連文書
権限グループと権限: