Roles and Capabilities:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
The WordPress [[WordPress:#Roles|Roles]] feature is designed to give the [[WordPress:Glossary#Blog|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 [[WordPress:Writing_Posts|writing and editing Posts]], [[WordPress:Pages|creating Pages]], [[WordPress:Links Manager|defining Links]], [[WordPress:Manage_Categories_SubPanel|creating Categories]], [[WordPress:Comment Moderation|moderating Comments]], [[WordPress:Managing_Plugins|managing Plugins]], [[WordPress:Themes|managing Themes]], and [[WordPress:Authors_and_Users_SubPanel|managing other users]].  The tool that gives the blog owner that control is the ability to assign a Role to a user.
设计WordPress[[#WordPress:Roles|角色]]功能是来赋予[[WordPress:Glossary#Blog|博客]]拥有者权限来控制和分配用户在博客中可以做什么,不可以做什么。一个博客拥有者必须能够管理并且能够使用以下的功能,例如[[WordPress:Writing_Posts|写和编辑文章]], [[WordPress:Pages|创建网页]], [[WordPress:Links Manager|定义链接]], [[WordPress:Manage_Categories_SubPanel|创建类别]], [[WordPress:Comment Moderation|审核评论]], [[WordPress:Managing_Plugins|管理插件]], [[WordPress:Themes|管理主题]], [[WordPress:Authors_and_Users_SubPanel|管理其他的用户]]。工具赋予博客主人控制这些功能,能够给用户分配一个角色。


设计WordPress[[WordPress:#Roles|角色]]功能是来赋予[[WordPress:Glossary#Blog|博客]]拥有者权限来控制和分配用户在博客中可以做什么,不可以做什么。一个博客拥有者必须能够管理并且能够使用以下的功能,例如[[WordPress:Writing_Posts|写和编辑文章]], [[WordPress:Pages|创建网页]], [[WordPress:Links Manager|定义链接]], [[WordPress:Manage_Categories_SubPanel|创建类别]], [[WordPress:Comment Moderation|审核评论]], [[WordPress:Managing_Plugins|管理插件]], [[WordPress:Themes|管理主题]], 和[[WordPress:Authors_and_Users_SubPanel|管理其他的用户]]。工具赋予博客主人控制这些功能,能够给用户分配一个角色。
==WordPress Version 2.0==
==WordPress 2.0版本==
==WordPress 2.0版本==
WordPress Version 2.0 introduces the concept of Roles.  The WordPress distribution comes delivered 'standard' with five pre-defined Roles: [[WordPress:#Administrator|Administrator]], [[WordPress:#Editor|Editor]], [[WordPress:#Author|Author]], [[WordPress:#Contributor|Contributor]], and [[WordPress:#Subscriber|Subscriber]].  Each Role is allowed to perform a set of tasks called [[WordPress:Glossary#Capabilities|Capabilities]].  There are thirty Capabilities including [[WordPress:#publish_posts|publish_posts]], [[WordPress:#moderate_comments|moderate_comments]], and [[WordPress:#edit_users|edit_users]].  The Capabilities are pre-assigned to each Role. 
WordPress2.0引进了角色的概念。WordPress分发'标准',有五个预先确定好的[[WordPress:#Roles|角色]]: [[WordPress:#Administrator|管理员]], [[WordPress:#Editor|编辑员]], [[WordPress:#Author|作者]], [[WordPress:#Contributor|投稿者]], 和 [[WordPress:#Subscriber|订阅者]]。每个[[WordPress:#Roles|角色]]能够执行一系列任务,这些任务称为[[WordPress:#Capabilities|角色]]。有三十个角色,包括[[WordPress:#publish_posts|发表_文章]], [[WordPress:#moderate_comments|审核_评论]], 和[[WordPress:#edit_users|编辑_用户]]。这些权限都预先分配给了每个角色。


The [[WordPress:#Administrator|Administrator Role]] is allowed to perform all possible Capabilities. Each of the other Roles has a decreasing number of allowed Capabilities.  For instance, the [[WordPress:#Subscriber|Subscriber Role]] is allowed just the [[WordPress:#read|read]] and [[WordPress:#level_0|level_0]].  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.
WordPress2.0引进了角色的概念。WordPress分发'标准',有五个预先确定好的[[#WordPress:Roles|角色]]: [[#WordPress:Administrator|管理员]], [[#WordPress:Editor|编辑员]], [[#WordPress:Author|作者]], [[#WordPress:Contributor|投稿者]], 和 [[#WordPress:Subscriber|订阅者]]。每个[[#WordPress:Roles|角色]]能够执行一系列任务,这些任务称为[[#WordPress:Capabilities|角色]]。有三十个角色,包括[[#WordPress:publish_posts|发表_文章]], [[#WordPress:moderate_comments|审核_评论]], 和[[#WordPress:edit_users|编辑_用户]]。这些权限都预先分配给了每个角色。


[[WordPress:#Administrator|管理员角色]]能够执行所有的权限。其它的角色能够执行的权限数目要少一点。例如,[[WordPress:#Subscriber|订阅者角色]]只能够[[WordPress:#read|阅读]] 和 [[WordPress:#level_0|级别_0]] 权限。一个特别的角色不应该被看做是比其它的角色要'高级'。而是,要将角色看作是,定义了用户在一个博客中的责任。


Plugin developers will likely revise the 'standard' Roles and Capabilities because [[WordPress:Copyright Holders|WordPress Developers]] left open the ''future possibility'' of assigning a user to one or more Roles, or assigning Capabilities directly to a User.  Since Plugins might change Roles and Capabilities, just the 'standard' Roles and Capabilities are addressed in this article.
[[#WordPress:Administrator|管理员角色]]能够执行所有的权限。其它的角色能够执行的权限数目要少一点。例如,[[#WordPress:Subscriber|订阅者角色]]只能够[[#WordPress:read|阅读]] 和 [[#WordPress:level_0|级别_0]] 权限。一个特别的角色不应该被看做是比其它的角色要'高级'。而是,要将角色看作是,定义了用户在一个博客中的责任。


插件开发者很有可能修订'标准的'角色和权限,因为[[WordPress:Copyright Holders|WordPress 开发者]]准许了''未来可能''会给用户分配一个或者更多的权限,或者直接将权限分配给一个用户。因为插件可能更改角色和权限,这篇文章中只提及了'标准的角色和权限。
插件开发者很有可能修订'标准的'角色和权限,因为[[WordPress:Copyright Holders|WordPress 开发者]]准许了''未来可能''会给用户分配一个或者更多的权限,或者直接将权限分配给一个用户。因为插件可能更改角色和权限,这篇文章中只提及了'标准的角色和权限。
==Super Powers for Blog Owner==


==博客主人的超级特权==
==博客主人的超级特权==


 
起着'''最重要角色'''的人,是博客主人。一般来说,博客主人是负责维护和[[WordPress:Backing_Up_Your_Database|备份]] WordPress [[WordPress:Glossary#MySQL|MySQL]] [[WordPress:Database_Description|数据库]]以及管理WordPress文件库(程序,脚本,插件,主题,图像,上载的内容)。最后,博客的正常运行取决于博客的作者完成这个'最终的角色'。注:博客主人,在多数情况下,也起着[[#WordPress:Administrator|管理员]]的[[#WordPress:Roles|角色]],但是也可能会给其他的用户赋予 [[#WordPress:Administrator|管理员角色]]。  
The person with the '''most important Role''' is that of blog owner.  Typically, the blog owner is the person responsibile for maintaining and [[WordPress:Backing_Up_Your_Database|backing]] up the WordPress [[WordPress:Glossary#MySQL|MySQL]] [[WordPress:Database_Description|database]] as well as managing the WordPress repository of files (programs, scripts, plugins, themes, images, uploads).  Ultimately, the smooth operation of a blog depends on the blog owner fulfilling this 'ultimate role'.  Note: The blog owner, in many cases, also acts the Role of [[WordPress:#Administrator|Administrator]] but may choose to assign other users the [[WordPress:#Administrator|Administrator Role]].
 
起着'''最重要角色'''的人,是博客主人。一般来说,博客主人是负责维护和[[WordPress:Backing_Up_Your_Database|备份]] WordPress [[WordPress:Glossary#MySQL|MySQL]] [[WordPress:Database_Description|数据库]]以及管理WordPress文件库(程序,脚本,插件,主题,图像,上载的内容)。最后,博客的正常运行取决于博客的作者完成这个'最终的角色'。注:博客主人,在多数情况下,也起着[[WordPress:#Administrator|管理员]]的[[WordPress:#Roles|角色]],但是也可能会给其他的用户赋予 [[WordPress:#Administrator|管理员角色]]。  
 
==Summary of Roles==


==角色总结==
==角色总结==


*Administrator - Somebody who has access to all the administration features
*管理员-能够使用所有管理功能的人
*管理员-能够使用所有管理功能的人
*Editor - Somebody who can publish posts, manage posts as well as manage other people's posts, etc.


*编辑-能够发表文章,管理文章,管理其他人的文章,等的人。
*编辑-能够发表文章,管理文章,管理其他人的文章,等的人。
*Author - Somebody who can publish and manage their own posts


*作者-能够发表和管理自己的文章的人
*作者-能够发表和管理自己的文章的人
*Contributor - Somebody who can write and manage their posts but not publish posts


*供稿者-能够写文章并且管理自己的文章但是不能够发表文章
*供稿者-能够写文章并且管理自己的文章但是不能够发表文章
*Subscriber - Somebody who can read comments/comment/receive news letters, etc.


*订阅者-能够阅读评论/发表评论/得到新的信件,等等。
*订阅者-能够阅读评论/发表评论/得到新的信件,等等。
==Roles==


==角色==
==角色==


The identity a particular user assumes in a blog is called their Role.  A Role essentially describes the set of tasks, called Capabilities, a person is allowed to perform.  For instance, the role of [[WordPress:#Administrator|Administrator]] encompasses every possible [[WordPress:#Capabilities|task]] that can be performed within a WordPress blog.  On the other hand, the [[WordPress:#Author|Author Role]] allows the execution of just a small subset of Capabilities.
一个特别的用户在博客中的身份称为他们的角色。一个角色通常描述了一系列任务,称作权限,一个人能够执行这些能力。例如,[[#WordPress:Administrator|管理员]]的角色包括了WordPress博客中可能执行的每个[[#WordPress:Capabilities|任务]]。另一方面,[[#WordPress:Author|作者角色]]允许执行更少一点的权限。
 
一个特别的用户在博客中的身份称为他们的角色。一个角色通常描述了一系列任务,称作权限,一个人能够执行这些能力。例如,[[WordPress:#Administrator|管理员]]的角色包括了WordPress博客中可能执行的每个[[WordPress:#Capabilities|任务]]。另一方面,[[WordPress:#Author|作者角色]]允许执行更少一点的权限。


WordPress 2.0 simplifies the [[WordPress:User_Levels|User Level approach]] of WordPress 1.5 by rolling up adjacent levels with similar permissions into logical, named roles. For example, Level 0 is now assigned to the Subscriber Role, while Levels 5 and 6 together make up the Editor role.


WordPress2.0通过将相邻的,有相似权限的级别集中为逻辑的,指定的角色,这样,便简化了WordPress1.5的[[WordPress:User_Levels|用户级别方法]]。
WordPress2.0通过将相邻的,有相似权限的级别集中为逻辑的,指定的角色,这样,便简化了WordPress1.5的[[WordPress:User_Levels|用户级别方法]]。




===Administrator===


===管理员===
===管理员===




Role Name: '''Administrator'''


角色名称:'''管理员'''
角色名称:'''管理员'''




=====Capabilities:=====


=====权限:=====
=====权限:=====
:*[[WordPress:#switch_themes|switch_themes]]
:*[[WordPress:#edit_themes|edit_themes]]
:*[[WordPress:#activate_plugins| activate_plugins]]
:*[[WordPress:#edit_plugins| edit_plugins]]
:*[[WordPress:#edit_users|edit_users]]
:*[[WordPress:#edit_files|edit_files]]
:*[[WordPress:#manage_options|manage_options]]
:*[[WordPress:#moderate_comments|moderate_comments]]
:*[[WordPress:#manage_categories|manage_categories]]
:*[[WordPress:#manage_links|manage_links]]
:*[[WordPress:#upload_files|upload_files]]
:*[[WordPress:#import|import]]
:*[[WordPress:#unfiltered_html| unfiltered_html]]
:*[[WordPress:#edit_posts| edit_posts]]
:*[[WordPress:#edit_others_posts| edit_others_posts]]
:*[[WordPress:#edit_published_posts| edit_published_posts]]
:*[[WordPress:#publish_posts| publish_posts]]
:*[[WordPress:#edit_pages| edit_pages]]
:*[[WordPress:#read| read]]
:*[[WordPress:#edit_others_pages| edit_others_pages]] Since 2.1
:*[[WordPress:#edit_published_pages| edit_published_pages]] Since 2.1
:*[[WordPress:#publish_pages| edit_published_pages]] Since 2.1
:*[[WordPress:#delete_pages| delete_pages]] Since 2.1
:*[[WordPress:#delete_others_pages| delete_others_pages]] Since 2.1
:*[[WordPress:#delete_published_pages| delete_published_pages]] Since 2.1
:*[[WordPress:#delete_posts| delete_posts]] Since 2.1
:*[[WordPress:#delete_others_posts| delete_others_posts]] Since 2.1
:*[[WordPress:#delete_published_posts| delete_published_posts]] Since 2.1
:*[[WordPress:#delete_private_posts| delete_private_posts]] Since 2.1
:*[[WordPress:#edit_private_posts| edit_private_posts]] Since 2.1
:*[[WordPress:#read_private_posts| read_private_posts]] Since 2.1
:*[[WordPress:#delete_private_pages| delete_private_pages]] Since 2.1
:*[[WordPress:#edit_private_pages| edit_private_pages]] Since 2.1
:*[[WordPress:#read_private_pages| read_private_pages]] Since 2.1
:*[[WordPress:#delete_users| delete_users]] Since 2.1
:*[[WordPress:#create_users| create_users]] Since 2.1
:*[[WordPress:#unfiltered_upload| unfiltered_upload]] Since 2.3
:*[[WordPress:#edit_dashboard| edit_dashboard]] Since 2.5
:*[[WordPress:#update_plugins| update_plugins]] Since 2.6
:*[[WordPress:#delete_plugins| delete_plugins]] Since 2.6
:*[[WordPress:#level_10|level_10]]
:*[[WordPress:#level_9| level_9]]
:*[[WordPress:#level_8| level_8]]
:*[[WordPress:#level_7| level_7]]
:*[[WordPress:#level_6| level_6]]
:*[[WordPress:#level_5| level_5]]
:*[[WordPress:#level_4| level_4]]
:*[[WordPress:#level_3| level_3]]
:*[[WordPress:#level_2| level_2]]
:*[[WordPress:#level_1| level_1]]
:*[[WordPress:#level_0| level_0]]


:*[[WordPress:#switch_themes|switch_themes]]
:*[[WordPress:#switch_themes|switch_themes]]

2008年8月1日 (五) 18:03的版本

设计WordPress角色功能是来赋予博客拥有者权限来控制和分配用户在博客中可以做什么,不可以做什么。一个博客拥有者必须能够管理并且能够使用以下的功能,例如写和编辑文章, 创建网页, 定义链接, 创建类别, 审核评论, 管理插件, 管理主题, 和管理其他的用户。工具赋予博客主人控制这些功能,能够给用户分配一个角色。

WordPress 2.0版本

WordPress2.0引进了角色的概念。WordPress分发'标准',有五个预先确定好的角色: 管理员, 编辑员, 作者, 投稿者, 和 订阅者。每个角色能够执行一系列任务,这些任务称为角色。有三十个角色,包括发表_文章, 审核_评论, 和编辑_用户。这些权限都预先分配给了每个角色。


管理员角色能够执行所有的权限。其它的角色能够执行的权限数目要少一点。例如,订阅者角色只能够阅读级别_0 权限。一个特别的角色不应该被看做是比其它的角色要'高级'。而是,要将角色看作是,定义了用户在一个博客中的责任。

插件开发者很有可能修订'标准的'角色和权限,因为WordPress 开发者准许了未来可能会给用户分配一个或者更多的权限,或者直接将权限分配给一个用户。因为插件可能更改角色和权限,这篇文章中只提及了'标准的角色和权限。

博客主人的超级特权

起着最重要角色的人,是博客主人。一般来说,博客主人是负责维护和备份 WordPress MySQL 数据库以及管理WordPress文件库(程序,脚本,插件,主题,图像,上载的内容)。最后,博客的正常运行取决于博客的作者完成这个'最终的角色'。注:博客主人,在多数情况下,也起着管理员角色,但是也可能会给其他的用户赋予 管理员角色

角色总结

  • 管理员-能够使用所有管理功能的人
  • 编辑-能够发表文章,管理文章,管理其他人的文章,等的人。
  • 作者-能够发表和管理自己的文章的人
  • 供稿者-能够写文章并且管理自己的文章但是不能够发表文章
  • 订阅者-能够阅读评论/发表评论/得到新的信件,等等。

角色

一个特别的用户在博客中的身份称为他们的角色。一个角色通常描述了一系列任务,称作权限,一个人能够执行这些能力。例如,管理员的角色包括了WordPress博客中可能执行的每个任务。另一方面,作者角色允许执行更少一点的权限。


WordPress2.0通过将相邻的,有相似权限的级别集中为逻辑的,指定的角色,这样,便简化了WordPress1.5的用户级别方法


管理员

角色名称:管理员


权限:
  • [[WordPress:#switch_themes|switch_themes]]
  • [[WordPress:#edit_themes|edit_themes]]
  • [[WordPress:#activate_plugins| activate_plugins]]
  • [[WordPress:#edit_plugins| edit_plugins]]
  • [[WordPress:#edit_users|edit_users]]
  • [[WordPress:#edit_files|edit_files]]
  • [[WordPress:#manage_options|manage_options]]
  • [[WordPress:#moderate_comments|moderate_comments]]
  • [[WordPress:#manage_categories|manage_categories]]
  • [[WordPress:#manage_links|manage_links]]
  • [[WordPress:#upload_files|upload_files]]
  • [[WordPress:#import|import]]
  • [[WordPress:#unfiltered_html| unfiltered_html]]
  • [[WordPress:#edit_posts| edit_posts]]
  • [[WordPress:#edit_others_posts| edit_others_posts]]
  • [[WordPress:#edit_published_posts| edit_published_posts]]
  • [[WordPress:#publish_posts| publish_posts]]
  • [[WordPress:#edit_pages| edit_pages]]
  • [[WordPress:#read| 阅读]]
  • 从2.1版本开始[[WordPress:#edit_others_pages| edit_others_pages]]
  • 从2.1版本开始[[WordPress:#edit_published_pages| edit_published_pages]]
  • 从2.1版本开始[[WordPress:#publish_pages| edit_published_pages]]
  • 从2.1版本开始[[WordPress:#delete_pages| delete_pages]]
  • 从2.1版本开始[[WordPress:#delete_others_pages| delete_others_pages]]
  • 从2.1版本开始[[WordPress:#delete_published_pages| delete_published_pages]]
  • 从2.1版本开始[[WordPress:#delete_posts| delete_posts]]
  • 从2.1版本开始[[WordPress:#delete_others_posts| delete_others_posts]]
  • 从2.1版本开始[[WordPress:#delete_published_posts| delete_published_posts]]
  • 从2.1版本开始[[WordPress:#delete_private_posts| delete_private_posts]]
  • 从2.1版本开始[[WordPress:#edit_private_posts| edit_private_posts]]
  • 从2.1版本开始[[WordPress:#read_private_posts| read_private_posts]]
  • 从2.1版本开始[[WordPress:#delete_private_pages| delete_private_pages]]
  • 从2.1版本开始[[WordPress:#edit_private_pages| edit_private_pages]]
  • 从2.1版本开始[[WordPress:#read_private_pages| read_private_pages]]
  • 从2.1版本开始[[WordPress:#delete_users| delete_users]]
  • 从2.1版本开始[[WordPress:#create_users| create_users]]
  • 从2.3版本开始[[WordPress:#unfiltered_upload| unfiltered_upload]]
  • 从2.5版本开始[[WordPress:#edit_dashboard| edit_dashboard]]
  • 从2.6版本开始[[WordPress:#update_plugins| update_plugins]]
  • 从2.6版本开始[[WordPress:#delete_plugins| delete_plugins]]
  • [[WordPress:#level_10|level_10]]
  • [[WordPress:#level_9| level_9]]
  • [[WordPress:#level_8| level_8]]
  • [[WordPress:#level_7| level_7]]
  • [[WordPress:#level_6| level_6]]
  • [[WordPress:#level_5| level_5]]
  • [[WordPress:#level_4| level_4]]
  • [[WordPress:#level_3| level_3]]
  • [[WordPress:#level_2| level_2]]
  • [[WordPress:#level_1| level_1]]
  • [[WordPress:#level_0| level_0]]

Editor

编辑

Role Name: Editor

角色名:编辑

Capabilities:
权限:
  • [[WordPress:#moderate_comments| moderate_comments]]
  • [[WordPress:#manage_categories| manage_categories]]
  • [[WordPress:#manage_links| manage_links]]
  • [[WordPress:#upload_files| upload_files]]
  • [[WordPress:#unfiltered_html| unfiltered_html]]
  • [[WordPress:#edit_posts| edit_posts]]
  • [[WordPress:#edit_others_posts| edit_others_posts]]
  • [[WordPress:#edit_published_posts| edit_published_posts]]
  • [[WordPress:#publish_posts| publish_posts]]
  • [[WordPress:#edit_pages| edit_pages]]
  • [[WordPress:#read|read]]
  • [[WordPress:#edit_others_pages| edit_others_pages]] Since 2.1
  • [[WordPress:#edit_published_pages| edit_published_pages]] Since 2.1
  • [[WordPress:#publish_pages| edit_published_pages]] Since 2.1
  • [[WordPress:#delete_pages| delete_pages]] Since 2.1
  • [[WordPress:#delete_others_pages| delete_others_pages]] Since 2.1
  • [[WordPress:#delete_published_pages| delete_published_pages]] Since 2.1
  • [[WordPress:#delete_posts| delete_posts]] Since 2.1
  • [[WordPress:#delete_others_posts| delete_others_posts]] Since 2.1
  • [[WordPress:#delete_published_posts| delete_published_posts]] Since 2.1
  • [[WordPress:#delete_private_posts| delete_private_posts]] Since 2.1
  • [[WordPress:#edit_private_posts| edit_private_posts]] Since 2.1
  • [[WordPress:#read_private_posts| read_private_posts]] Since 2.1
  • [[WordPress:#delete_private_pages| delete_private_pages]] Since 2.1
  • [[WordPress:#edit_private_pages| edit_private_pages]] Since 2.1
  • [[WordPress:#read_private_pages| read_private_pages]] Since 2.1
  • [[WordPress:#level_7| level_7]]
  • [[WordPress:#level_6| level_6]]
  • [[WordPress:#level_5| level_5]]
  • [[WordPress:#level_4| level_4]]
  • [[WordPress:#level_3| level_3]]
  • [[WordPress:#level_2| level_2]]
  • [[WordPress:#level_1| level_1]]
  • [[WordPress:#level_0| level_0]]









  • [[WordPress:#moderate_comments| moderate_comments]]
  • [[WordPress:#manage_categories| manage_categories]]
  • [[WordPress:#manage_links| manage_links]]
  • [[WordPress:#upload_files| upload_files]]
  • [[WordPress:#unfiltered_html| unfiltered_html]]
  • [[WordPress:#edit_posts| edit_posts]]
  • [[WordPress:#edit_others_posts| edit_others_posts]]
  • [[WordPress:#edit_published_posts| edit_published_posts]]
  • [[WordPress:#publish_posts| publish_posts]]
  • [[WordPress:#edit_pages| edit_pages]]
  • [[WordPress:#read|read]]
  • 从2.1版本开始[[WordPress:#edit_others_pages| edit_others_pages]]
  • 从2.1版本开始[[WordPress:#edit_published_pages| edit_published_pages]]
  • 从2.1版本开始[[WordPress:#publish_pages| edit_published_pages]]
  • 从2.1版本开始[[WordPress:#delete_pages| delete_pages]]
  • 从2.1版本开始[[WordPress:#delete_others_pages| delete_others_pages]]
  • 从2.1版本开始[[WordPress:#delete_published_pages| delete_published_pages]]
  • 从2.1版本开始[[WordPress:#delete_posts| delete_posts]]
  • 从2.1版本开始[[WordPress:#delete_others_posts| delete_others_posts]]
  • 从2.1版本开始[[WordPress:#delete_published_posts| delete_published_posts]]
  • 从2.1版本开始[[WordPress:#delete_private_posts| delete_private_posts]]
  • 从2.1版本开始[[WordPress:#edit_private_posts| edit_private_posts]]
  • 从2.1版本开始[[WordPress:#read_private_posts| read_private_posts]]
  • 从2.1版本开始[[WordPress:#delete_private_pages| delete_private_pages]]
  • 从2.1版本开始[[WordPress:#edit_private_pages| edit_private_pages]]
  • 从2.1版本开始[[WordPress:#read_private_pages| read_private_pages]]
  • [[WordPress:#level_7| level_7]]
  • [[WordPress:#level_6| level_6]]
  • [[WordPress:#level_5| level_5]]
  • [[WordPress:#level_4| level_4]]
  • [[WordPress:#level_3| level_3]]
  • [[WordPress:#level_2| level_2]]
  • [[WordPress:#level_1| level_1]]
  • [[WordPress:#level_0| level_0]]

Author

作者

Role Name: Author

角色名:作者

Capabilities:
权限:
  • [[WordPress:#upload_files|upload_files]]
  • [[WordPress:#edit_posts|edit_posts]]
  • [[WordPress:#publish_posts|publish_posts]]
  • [[WordPress:#read|read]]
  • [[WordPress:#delete_posts| delete_posts]] Since 2.1
  • [[WordPress:#delete_published_posts| delete_published_posts]] Since 2.1
  • [[WordPress:#level_2| level_2]]
  • [[WordPress:#level_1| level_1]]
  • [[WordPress:#level_0| level_0]]



  • [[WordPress:#upload_files|upload_files]]
  • [[WordPress:#edit_posts|edit_posts]]
  • [[WordPress:#publish_posts|publish_posts]]
  • [[WordPress:#read|read]]
  • 从2.1版本开始[[WordPress:#delete_posts| delete_posts]]
  • 从2.1版本开始[[WordPress:#delete_published_posts| delete_published_posts]]
  • [[WordPress:#level_2| level_2]]
  • [[WordPress:#level_1| level_1]]
  • [[WordPress:#level_0| level_0]]

Contributor

供稿者

Role Name Contributor

角色名供稿者

Capabilities:
权限:
  • [[WordPress:#edit_posts|edit_posts]]
  • [[WordPress:#read|read]]
  • [[WordPress:#delete_posts| delete_posts]] Since 2.1
  • [[WordPress:#level_1| level_1]]
  • [[WordPress:#level_0| level_0]]
  • [[WordPress:#edit_posts|edit_posts]]
  • [[WordPress:#read|read]]
  • 从2.1版本开始[[WordPress:#delete_posts| delete_posts]]
  • [[WordPress:#level_1| level_1]]
  • [[WordPress:#level_0| level_0]]

Subscriber

订阅者

Role Name: Subscriber

角色名:订阅者

Capabilities:
权限:
  • [[WordPress:#read|read]]
  • [[WordPress:#level_0|level_0]]
  • [[WordPress:#read|阅读]]
  • [[WordPress:#level_0|level_0]]

Capability vs. Role Table

能力 vs. 角色表

Capability admin editor author contributor subscriber
switch_themes
edit_themes
activate_plugins
edit_plugins
edit_users
edit_files
manage_options
import
unfiltered_upload
edit_dashboard
update_plugins
delete_plugins
moderate_comments
manage_categories
manage_links
unfiltered_html
edit_published_posts
edit_others_posts
edit_pages
delete_users
create_users
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
upload_files
publish_posts
delete_published_posts
edit_posts
delete_posts
read
 
level_10
level_9
level_8
level_7
level_6
level_5
level_4
level_3
level_2
level_1
level_0


Capability admin editor author contributor subscriber
switch_themes
edit_themes
activate_plugins
edit_plugins
edit_users
edit_files
manage_options
import
unfiltered_upload
edit_dashboard
update_plugins
delete_plugins
moderate_comments
manage_categories
manage_links
unfiltered_html
edit_published_posts
edit_others_posts
edit_pages
delete_users
create_users
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
upload_files
publish_posts
delete_published_posts
edit_posts
delete_posts
read
 
level_10
level_9
level_8
level_7
level_6
level_5
level_4
level_3
level_2
level_1
level_0



Capabilities

能力

switch_themes

switch_themes

Allows access to Administration Panel options:

  • Presentation
  • Presentation > Themes

允许使用管理面板选项:

  • 呈现
  • 呈现->主题

edit_themes

edit_themes

Allows access to Administration Panel options:

  • Presentation > Theme Editor
  • Presentation > Current Theme Options

允许使用管理面板选项:

  • 呈现>主题编辑
  • 呈现>当前主题选项

activate_plugins

activate_plugins

Allows access to Administration Panel options:

允许使用管理面板 选项:

edit_plugins

edit_plugins

Allows access to Administration Panel options:

允许使用管理面板 选项:



edit_users

edit_users

Allows access to Administration Panel options: 允许使用管理面板 选项:


edit_files

edit_files

Allows access to Administration Panel options:

允许使用管理面板 选项:

manage_options

manage_options

Allows access to Administration Panel options:

  • Options > General
  • Options > Writing
  • Options > Reading
  • Options > Discussion
  • Options > Permalinks
  • Options > Miscellaneous

允许使用管理面板 选项:

  • 选项->总的
  • 选项->写
  • 选项->阅读
  • 选项->讨论
  • 选项->Permalinks
  • 选项->Miscellaneous

moderate_comments

moderate_comments

Allows access to Administration Panel options:

允许使用管理面板 选项:

  • Question: This is blank. I guess the User can accept and deny (= delete) a comment in moderation. Can he also delete other comments? Tordans 17:56, 8 Apr 2006 (GMT)
  • 问题:这是空白的。我想用户可以接受和拒绝(=删除)等待审核的评论。他也可以删除其它的评论吗?Tordans 2006 四月八日17:56(格林尼治标准时间)

manage_categories

manage_categories

Allows access to Administration Panel options:

  • Manage > Categories

允许使用管理面板 选项:

  • 管理->类别

manage_links

manage_links

Allows access to Administration Panel options: 允许使用管理面板 选项:

  • Links
  • Links > Manage Links
  • Links > Add Link
  • Links > Link Categories
  • Links > Import Links
  • 链接
  • 链接>管理链接
  • 链接>添加链接
  • 链接>链接类别
  • 链接>导入链接

upload_files

upload_files

Allows access to Administration Panel options:

  • Upload

允许使用管理面板 选项:

  • 上传

import

导入

Allows access to Administration Panel options:

  • Import

允许使用管理面板 选项:

  • 导入

unfiltered_html

unfiltered_html

Allows user to post HTML markup or even Javascript code in pages, posts, and comments.

允许用户在文章,网页或者评论中粘贴HTML 标记或者Javascript 编码。

Note: Enabling this option for untrusted users may result in their posting malicious code to your blog.

注:允许没有信任值的用户使用这个选项,可能导致他们向你的博客上粘贴恶意的代码。

edit_posts

edit_posts

Allows access to Administration Panel options: 允许使用管理面板 选项:

  • Write
  • Write > Write Post
  • Manage
  • Manage > Posts
  • 管理
  • 写>写文章
  • 管理>文章
  • Manage > Comments -- The "show post", "edit post", "edit comment", and "delete comment" links are enabled only on own posts, since edit-comment.php looks for "current_user_can('edit_post', $comment->comment_post_ID)"'
  • 管理>评论 -- 只在自己的文章中 "显示 文章"-链接; "编辑 文章"-, "编辑 评论"- 和 "删除 评论"-链接 ,因为edit-comment.php 查找 "current_user_can('edit_post', $comment->comment_post_ID)"'
  • Manage > Awaiting Moderation -- I think contributor can only see the menuitem since the capability "moderate_comments" is needed to view the comment list (see moderate.php). So you cannot even see your own posts comments in the moderation list?!
  • 管理->等待审核 -- 我认为供稿者只能看到menuitem 因为"审核_评论"权限需要查看评论列表(see moderate.php)。因此你在审核列表中可能都看不到你自己的文章的评论?!

edit_others_posts

edit_others_posts

  • Manage > Comments -- Lets user delete and edit every comment (see edit_posts above)
  • 管理>评论 -- 让用户删除和编辑每个评论请看看上面的编辑_文章)
  • user can edit other users' posts through function get_others_drafts()
  • 通过函数get_others_drafts(),用户可以编辑其它用户的文章*user can see other users' images in inline-uploading [no? see inline-uploading.php]
  • 用户可以在inline-uploading看到其它用户的图像[没有看到? 请看看inline-uploading.php]

edit_published_posts

edit_published_posts

User can edit his 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.

用户可以编辑自己发表过的文章。默认没有这个权限。 core核查权限edit_posts,但是要求这个权限更改为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

publish_posts

User can 用户可以

  • see and choose the radiobox "publish" when writing a post
  • see and use the "publish" button below their post (otherwise they can only save drafts)
  • can use xmlrpc to publish (otherwise they get a "Sorry, you can not post on this weblog or category.")
  • 写一篇文章的时候,查看并且选择radiobox "发表"
  • 看看并且使用他们的文章下面的"发表"-按钮(否则的话他们只能够保存草稿)
  • 可以使用xmlrpc来发表 (否则他们会得到一个 "对不起, 你不能在这个网络博客或者类别上发表文章。")

edit_pages

edit_pages

Allows access to Administration Panel options: 允许使用管理面板选项:

  • Write > Write Page -- gives acces to "page-new.php"
  • Manage > Pages -- all users can view "/wp-admin/edit-pages.php" but only those here do see the link 'edit' and 'delete' in the table list.
  • 写>编写网页 -- 允许使用"page-new.php"
  • 管理>网页 -- 所有的用户都能够看到 "/wp-admin/edit-pages.php" 但是只有这里的用户才能够看到表格列表中的链接'编辑'和'删除' 。

As far as I see all editors can edit each others' pages. [[WordPress:[User:Scoop0901|Dave J. (Scoop0901)]] 16:38, 30 Jan 2007 (UTC) fixed typo]

据我所知,所有的编辑都可以互相编辑对方的网页。 [[WordPress:[User:Scoop0901|Dave J. (Scoop0901)]] 16:38, 30 Jan 2007 (UTC) fixed typo]

read

阅读

Allows access to Administration Panel options:

允许使用管理面板选项:

  • Dashboard
  • Your Profile
  • Dashboard
  • 你的基本资料

Used nowhere in the core code except the menu.php

只用在核心代码的menu.php中

edit_others_pages

edit_others_pages

Since 2.1 从2.1版本开始

edit_published_pages

edit_published_pages

Since 2.1 从2.1版本开始

edit_published_pages

edit_published_pages

Since 2.1 从2.1版本开始

delete_pages

delete_pages

Since 2.1 从2.1版本开始

delete_others_pages

delete_others_pages

Since 2.1 从2.1版本开始

delete_published_pages

delete_published_pages

Since 2.1 从2.1版本开始

delete_posts

delete_posts

Since 2.1 从2.1版本开始

delete_others_posts

delete_others_posts

Since 2.1 从2.1版本开始

delete_published_posts

delete_published_posts

Since 2.1 从2.1版本开始

delete_private_posts

delete_private_posts

Since 2.1

从2.1版本开始

edit_private_posts

edit_private_posts

Since 2.1

从2.1版本开始

read_private_posts

read_private_posts

Since 2.1

从2.1版本开始

delete_private_pages

delete_private_pages

Since 2.1

从2.1版本开始

edit_private_pages

delete_private_pages

Since 2.1

从2.1版本开始

read_private_pages

delete_private_pages

Since 2.1

从2.1版本开始

delete_users

delete_users

Since 2.1

从2.1版本开始

create_users

delete_users

Since 2.1

从2.1版本开始

unfiltered_upload

unfiltered_upload

Since 2.3

从2.3版本开始

edit_dashboard

edit_dashboard

Since 2.5

从2.5版本开始

update_plugins

update_plugins

Since 2.6

从2.6版本开始

delete_plugins

delete_plugins

Since 2.6

从2.6版本开始

level_10

level_10

Allows access to Administration Panel options: 允许使用管理面板选项:

  • Maintained for backward compatibility for Plugins
  • 为插件的向后兼容维护

level_9

level_9

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_8

level_8

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_7

level_7

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_6

level_6

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_5

level_5

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_4

level_4

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_3

level_3

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_2

level_2

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_1

level_1

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

level_0

level_0

Allows access to Administration Panel options:

  • Maintained for backward compatibility for Plugins

允许使用管理面板选项:

  • 为插件的向后兼容维护

User Level to Role Conversion

用户级别到角色转换

  • User Level 0 converts to [[WordPress:#Subscriber|Subscriber Role]]
  • User Level 1 converts to [[WordPress:#Contributor|Contributor Role]]
  • User Level 2 converts to [[WordPress:#Author|Author Role]]
  • User Level 3 converts to [[WordPress:#Author|Author Role]]
  • User Level 4 converts to [[WordPress:#Author|Author Role]]
  • User Level 5 converts to [[WordPress:#Editor|Editor Role]]
  • User Level 6 converts to [[WordPress:#Editor|Editor Role]]
  • User Level 7 converts to [[WordPress:#Editor|Editor Role]]
  • User Level 8 converts to [[WordPress:#Administrator|Administrator Role]]
  • User Level 9 converts to [[WordPress:#Administrator|Administrator Role]]
  • User Level 10 converts to [[WordPress:#Administrator|Administrator Role]]



  • 用户级别 0 转换为 [[WordPress:#Subscriber|订阅者角色]]
  • 用户级别1 转换为 [[WordPress:#Contributor|投稿者角色]]
  • 用户级别 2 转换为 [[WordPress:#Author|作者角色]]
  • 用户级别 3 转换为 [[WordPress:#Author|作者角色]]
  • 用户级别 4 转换为 [[WordPress:#Author|作者角色]]
  • 用户级别 5 转变为 [[WordPress:#Editor|编辑角色]]
  • 用户级别 6 转变为 [[WordPress:#Editor|编辑角色]]
  • 用户级别 7 转变为 [[WordPress:#Editor|编辑角色]]
  • 用户级别 8 转变为 [[WordPress:#Administrator|管理员角色]]
  • 用户级别 9 转变为 [[WordPress:#Administrator|管理员角色]]
  • 用户级别 10 转变为 [[WordPress:#Administrator|管理员角色]]

Role to User Level Conversion

角色转换为用户级别

Subscriber Role

订阅者角色

User Level 0

用户级别0

Contributor Role

User Level 1

投稿者 角色

用户级别1

Author Role

User Levels 2, 3, and 4

作者角色

用户级别2,2,4

Editor Role

编辑角色

User Levels 5, 6, and 7

用户级别5,6,7

Administrator Role

管理员角色

User Level 8, 9, and 10

用户级别8,9,10

Resources

资源