Roles and Capabilities:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
设计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 2.0版本== | ==WordPress 2.0版本== | ||
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]] 权限。一个特别的角色不应该被看做是比其它的角色要'高级'。而是,要将角色看作是,定义了用户在一个博客中的责任。 | |||
插件开发者很有可能修订'标准的'角色和权限,因为[[WordPress:Copyright Holders|WordPress 开发者]]准许了''未来可能''会给用户分配一个或者更多的权限,或者直接将权限分配给一个用户。因为插件可能更改角色和权限,这篇文章中只提及了'标准的角色和权限。 | 插件开发者很有可能修订'标准的'角色和权限,因为[[WordPress:Copyright Holders|WordPress 开发者]]准许了''未来可能''会给用户分配一个或者更多的权限,或者直接将权限分配给一个用户。因为插件可能更改角色和权限,这篇文章中只提及了'标准的角色和权限。 | ||
==博客主人的超级特权== | ==博客主人的超级特权== | ||
起着'''最重要角色'''的人,是博客主人。一般来说,博客主人是负责维护和[[WordPress:Backing_Up_Your_Database|备份]] WordPress [[WordPress:Glossary#MySQL|MySQL]] [[WordPress:Database_Description|数据库]]以及管理WordPress文件库(程序,脚本,插件,主题,图像,上载的内容)。最后,博客的正常运行取决于博客的作者完成这个'最终的角色'。注:博客主人,在多数情况下,也起着[[#WordPress:Administrator|管理员]]的[[#WordPress:Roles|角色]],但是也可能会给其他的用户赋予 [[#WordPress:Administrator|管理员角色]]。 | |||
起着'''最重要角色'''的人,是博客主人。一般来说,博客主人是负责维护和[[WordPress:Backing_Up_Your_Database|备份]] WordPress [[WordPress:Glossary#MySQL|MySQL]] [[WordPress:Database_Description|数据库]]以及管理WordPress文件库(程序,脚本,插件,主题,图像,上载的内容)。最后,博客的正常运行取决于博客的作者完成这个'最终的角色'。注:博客主人,在多数情况下,也起着[[WordPress: | |||
==角色总结== | ==角色总结== | ||
*管理员-能够使用所有管理功能的人 | *管理员-能够使用所有管理功能的人 | ||
*编辑-能够发表文章,管理文章,管理其他人的文章,等的人。 | *编辑-能够发表文章,管理文章,管理其他人的文章,等的人。 | ||
*作者-能够发表和管理自己的文章的人 | *作者-能够发表和管理自己的文章的人 | ||
*供稿者-能够写文章并且管理自己的文章但是不能够发表文章 | *供稿者-能够写文章并且管理自己的文章但是不能够发表文章 | ||
*订阅者-能够阅读评论/发表评论/得到新的信件,等等。 | *订阅者-能够阅读评论/发表评论/得到新的信件,等等。 | ||
==角色== | ==角色== | ||
一个特别的用户在博客中的身份称为他们的角色。一个角色通常描述了一系列任务,称作权限,一个人能够执行这些能力。例如,[[#WordPress:Administrator|管理员]]的角色包括了WordPress博客中可能执行的每个[[#WordPress:Capabilities|任务]]。另一方面,[[#WordPress:Author|作者角色]]允许执行更少一点的权限。 | |||
一个特别的用户在博客中的身份称为他们的角色。一个角色通常描述了一系列任务,称作权限,一个人能够执行这些能力。例如,[[WordPress: | |||
WordPress2.0通过将相邻的,有相似权限的级别集中为逻辑的,指定的角色,这样,便简化了WordPress1.5的[[WordPress:User_Levels|用户级别方法]]。 | WordPress2.0通过将相邻的,有相似权限的级别集中为逻辑的,指定的角色,这样,便简化了WordPress1.5的[[WordPress:User_Levels|用户级别方法]]。 | ||
===管理员=== | ===管理员=== | ||
角色名称:'''管理员''' | 角色名称:'''管理员''' | ||
=====权限:===== | =====权限:===== | ||
:*[[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 > Files
允许使用管理面板 选项:
- 管理 ->文件
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
资源
- Role Manager Plugin for WordPress (for WordPress version 2.0 and higher)
- Owen Winkler's Role Manager Plugin (for WordPress 2.0.x only)
- Role Scoper Plugin (for WordPress 2.5 and higher)
- Ryan Boren's What's New in 2.0: Roles and Capabilities
- Owen Winkler's Permission Change Overview
- Hackers email list Original User Capability discussion
- WordPress角色管理器插件 (是对于WordPress 2.0 以及更高的版本)
- Owen Winkler的角色管理器插件 (只用于WordPress 2.0.x)
- Ryan Boren's What's New in 2.0: 角色和权限
- Owen Winkler权限改变总览
- Hackers email list最初用户权限讨论