- サイトデザイン工事中です。ご意見をお寄せください。
- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
ユーザーの種類と権限
このページ「ユーザーの種類と権限」は後半が未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています。
はじめに
WordPressのユーザーレベルシステムはブログの管理者が各ユーザに対して利用できる機能を制限・開放できるように設計されています。管理者は記事の投稿・編集、ページの作成、リンクの定義、カテゴリーの追加、コメントの承認、プラグインの管理、テーマの管理、他のユーザの管理等の機能へのアクセスや、それらを管理する権限を持っています。さらに、管理者はユーザレベルの調節をすることもできます。
WordPress 1.2、1.5、2.0、2.1以降ではそれぞれ設定が異なります。ご使用のバージョンに合わせて参照してください。
バージョン2.0
バージョン 2.0 から「権限」の概念が導入され、あらかじめ管理者、編集者、投稿者、寄稿者、購読者という5つの標準的な権限グループが設定されています。それぞれの権限グループによって作業範囲が変わります。それは30項目に及び、権限の設定により定義できます。
2.0の役割と権限
| 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 | |
|---|---|---|---|---|---|
| テーマの変更 | |||||
| テーマの編集 | |||||
| プラグインの有効化 | |||||
| プラグインの編集 | |||||
| ユーザの編集 | |||||
| ファイルの編集 | |||||
| 設定の管理 | |||||
| インポート | |||||
| コメントの承認 | |||||
| カテゴリーの管理 | |||||
| リンクの管理 | |||||
| フィルターなしのHTML | |||||
| 投稿された記事の編集 | |||||
| 他のユーザの記事の編集 | |||||
| ページの編集 | |||||
| ファイルアップロード | |||||
| 記事の投稿 | |||||
| 記事の編集 | |||||
| 閲覧 |
バージョン1.5
via http://codex.wordpress.org/User_Levels
ユーザレベルは0から10まであります。0は最低位のレベルであり、10は最高位のレベルです。レベル10は絶対的な権力を有しています。一般的に、ユーザレベルに応じて自分より下位レベルのユーザの投稿を編集・公開できます。ディスカッションの為に、登録とログインを行う全ての来訪者をユーザと呼びます。
レベル10のユーザは管理者権限を有しており、ここでは管理者と呼んでいます。WordPressをインストールする課程で自動的に管理者を作成し、レベル10を割り当てます。全てのユーザをコントロールする絶対的な力を持っている為、多くの場合、レベル10のユーザは一人だけであるべきです。
1.5のレベルと権限
| は権限を有しています | |||||||||||
| は自分より下位レベルのユーザーに対して権限を有しています | |||||||||||
| は権限は有りますが、制限されています | |||||||||||
| レベル | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| ダッシュボード | |||||||||||
| --- | |||||||||||
| 投稿 | |||||||||||
| 記事 | |||||||||||
| レベル1:「草稿として保存」 | |||||||||||
| ページ | |||||||||||
| 管理 | |||||||||||
| 記事 | |||||||||||
| レベル1:自分の草稿の編集・削除、他人の閲覧 | |||||||||||
| ページ | |||||||||||
| カテゴリー | |||||||||||
| レベル1,2,3:参照のみ | |||||||||||
| コメント | |||||||||||
| コメントの承認 | |||||||||||
| レベル1,2,3:参照のみ | |||||||||||
| リンク | |||||||||||
| リンクの管理 | |||||||||||
| リンクの追加 | |||||||||||
| リンクカテゴリー | |||||||||||
| リンクのインポート | |||||||||||
| テーマ | |||||||||||
| テーマの管理 | |||||||||||
| テーマの編集 | |||||||||||
| プラグイン | |||||||||||
| プラグインの管理 | |||||||||||
| プラグインの編集 | |||||||||||
| ユーザー | |||||||||||
| あなたのプロフィール | |||||||||||
| 投稿者とユーザー | |||||||||||
| レベル5:全ユーザの情報を閲覧、レベル0以外の下位のユーザの編集・レベルの変更・削除が可能 | |||||||||||
| 設定 | |||||||||||
| 一般設定 | |||||||||||
| 投稿設定 | |||||||||||
| 表示設定 | |||||||||||
| ディスカッション | |||||||||||
| パーマリンク設定 | |||||||||||
| その他の設定 | |||||||||||
| アップロード | |||||||||||
| ---(有効化時) | |||||||||||
| 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
最新英語版: WordPress Codex » Roles and Capabilities
最新英語版: WordPress Codex » User Levels
説明
WordPress uses a concept of Roles, designed to give the blog owner the ability to control and assign what users can and cannot do in the blog. A blog owner must manage and allow access to such functions as writing and editing posts, creating pages, defining Links, creating categories, moderating comments, managing plugins, managing themes, and managing other users. The tool that gives the blog owner this control is the ability to assign a Role to a user.
WordPress has five pre-defined Roles: Administrator, Editor, Author, Contributor, and Subscriber. Each Role is allowed to perform a set of tasks called Capabilities. There are many Capabilities including publish_posts, moderate_comments, and edit_users. The default Capabilities are pre-assigned to each Role.
The Administrator Role is allowed to perform all possible Capabilities. Each of the other Roles has a decreasing number of allowed Capabilities. For instance, the Subscriber Role is allowed just the read Capability. One particular Role should not be considered to be 'senior to' another Role. Rather, consider that Roles define the user's responsibilities within the blog.
The WordPress Plugin API allows Roles and Capabilities to be added, removed and changed. Since Plugins might change Roles and Capabilities, just the default ones are addressed in this article.
権限グループの概要
- 特権管理者 - Someone with access to the blog network administration features controlling the entire network (See Create a Network).
- 管理者 - Somebody who has access to all the administration features
- 編集者 - Somebody who can publish and manage posts and pages as well as manage other users' posts, etc.
- 投稿者 - Somebody who can publish and manage their own posts
- 寄稿者 - Somebody who can write and manage their posts but not publish them
- 購読者 - Somebody who can only manage their profile
Upon installing WordPress, an Administrator account with all Capabilities is automatically created.
The default role for new users can be set from the Settings General SubPanel.
権限グループ
A Role defines the set of tasks a user is allowed to perform. For instance, the role of Administrator encompasses every possible task that can be performed within a WordPress blog. On the other hand, the Author role allows the execution of just a small subset of tasks.
The following sections list the default Roles and their Capabilities:
New with 3.0
The documentation needs to be updated to incorporate Multisite, and super admin.
All these capabilities are exclusive to the administrator role.
New with 3.1
Super Admin
管理者
- activate_plugins
- add_users
- create_users
- delete_others_pages
- delete_others_posts
- delete_pages
- delete_plugins
- delete_posts
- delete_private_pages
- delete_private_posts
- delete_published_pages
- delete_published_posts
- delete_themes
- delete_users
- edit_dashboard
- edit_files
- edit_others_pages
- edit_others_posts
- edit_pages
- edit_plugins
- edit_posts
- edit_private_pages
- edit_private_posts
- edit_published_pages
- edit_published_posts
- edit_theme_options
- edit_themes
- edit_users
- export
- import
- install_plugins
- install_themes
- 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
- unfiltered_html
- unfiltered_upload
- update_core
- update_plugins
- update_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_html
- upload_files
投稿者
寄稿者
購読者
権限・権限グループテーブル
| 権限 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 | |
|---|---|---|---|---|---|---|
| (multi-site functions) | ||||||
| activate_plugins | ||||||
| add_users | ||||||
| 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 | ||||||
| unfiltered_upload | ||||||
| update_core | ||||||
| update_plugins | ||||||
| update_themes | ||||||
| edit_dashboard | ||||||
| moderate_comments | ||||||
| manage_categories | ||||||
| manage_links | ||||||
| unfiltered_html | ||||||
| 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 | ||||||
| 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 より導入
- 以下の管理パネル設定へのアクセスを許可。
- Appearance > Background
- Appearance > Header
- Appearance > Menus
- Appearance > Widgets
- Also allows access to Theme Options pages if they are included in the Theme
install_themes
- バージョン 2.0 より導入
- 以下の管理パネル設定へのアクセスを許可。
- 外観 > テーマの新規追加
activate_plugins
edit_plugins
install_plugins
edit_users
edit_files
- バージョン 2.0 より導入
- 注: 現在使われていません。
manage_options
- 以下の管理パネル設定へのアクセスを許可。
- 設定 > General
- 設定 > 投稿設定
- 設定 > 表示設定
- 設定 > ディスカッション
- 設定 > パーマリンク設定
moderate_comments
- バージョン 2.0 より導入
- Allows users to moderate comments from the Comments SubPanel (although a user needs the edit_posts Capability in order to access this)
manage_categories
- バージョン 2.0 より導入
- 以下の管理パネル設定へのアクセスを許可。
- 投稿 > カテゴリー
manage_links
- バージョン 2.0 より導入
- 以下の管理パネル設定へのアクセスを許可。
- リンク
- リンク > 新規追加
upload_files
- バージョン 2.0 より導入
- 以下の管理パネル設定へのアクセスを許可。
- メディア
- メディア > 新規追加
import
- バージョン 2.0 より導入
- 以下の管理パネル設定へのアクセスを許可。
- ツール > インポート
- ツール > エクスポート
unfiltered_html
- バージョン 2.0 より導入
- Allows user to post HTML markup or even JavaScript code in pages, posts, and comments.
- Note: Enabling this option for untrusted users may result in their posting malicious or poorly formatted code.
edit_posts
- バージョン 2.0 より導入
- 以下の管理パネル設定へのアクセスを許可。
- 投稿
- 投稿 > 新規追加
- コメント
- コメント > 承認待ち
edit_others_posts
- バージョン 2.0 より導入
- 以下の管理パネル設定へのアクセスを許可。
- 管理 > コメント (Lets user delete and edit every comment, see edit_posts above)
- user can edit other users' posts through function get_others_drafts()
- user can see other users' images in inline-uploading [no? see inline-uploading.php]
例外を参照。
edit_published_posts
- バージョン 2.0 より導入
- User can edit their published posts. This capability is off by default.
- The core checks the capability edit_posts, but on demand this check is changed to edit_published_posts.
- If you don't want a user to be able edit his published posts, remove this capability. (see also 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 より導入
User Levels
Prior to version 2.0, WordPress used a user User Levels system. This was replaced in version 2.0 with the much improved and more extensible Roles and Capabilities system you see today. To maintain backwards compatibility with plugins that still use the user levels system (although this is very much discouraged), the default Roles in WordPress also include Capabilities that correspond to these levels. User Levels were finaly deprecated in version 3.0.
| 権限 | 管理者 | 編集者 | 投稿者 | 寄稿者 | 購読者 |
|---|---|---|---|---|---|
| level_10 | |||||
| level_9 | |||||
| level_8 | |||||
| level_7 | |||||
| level_6 | |||||
| level_5 | |||||
| level_4 | |||||
| level_3 | |||||
| level_2 | |||||
| level_1 | |||||
| level_0 |
ユーザーレベルから権限グループへの変換
例外
WP 2.7.1 does not allow Editors to edit the posts of Administrators. Given that "One particular Role should not be considered to be 'senior to' another Role ... "*, this may be a bug in this release. Either that, or some clarification is required in this article.
Change Log
- 1.5: User Levels system was introduced.
- 2.0: Roles and Capabilities system was introduced.
- 3.0: User Levels system deprecated.
リソース
- プラグイン:
- Members プラグイン
- Role Scoper プラグイン
- Capability Manager プラグイン (currently supports only up to 2.9)
- User Access Manager プラグイン
- Information:
- Dev:
最新英語版: WordPress Codex » Roles and Capabilities (最新版との差分)
pt-br:Papéis e Permissões