Commit 0bd5de22 authored by jungle's avatar jungle Committed by jungle

Issue #2832738 by jungle, jhodgdon, qingguo: [ZH-HANS] 翻译文件: user-concept.txt

parent e9d2cbcd
[[user-concept]]
=== Concept: Users, Roles, and Permissions
=== 概念:用户,角色和权限
[role="summary"]
Overview of user accounts, permissions, and roles.
用户账户,权限和角色概述。
(((User,overview)))
(((Role,overview)))
(((User role,overview)))
(((Permission,overview)))
(((Anonymous user,overview)))
(((Authenticated user,overview)))
(((Administrative user account,overview)))
(((用户,概述)))
(((角色,概述)))
(((用户角色,概述)))
(((权限,概述)))
(((匿名角色,概述)))
(((注册用户,概述)))
(((管理用户账号,概述)))
// ==== Prerequisite knowledge
==== What are Users?
==== 什么是用户?
Anyone who visits your website is a _user_, including you. There are three
groups of users:
访问网站的任何人都是用户,包括您自己。有三类用户:
* Users who are not logged in, or _anonymous users_
* 未登录用户,或匿名用户
* Users who are logged in, or _authenticated users_
* 已登录用户
* The administrative user account that was automatically created when you
installed your site, or User 1. See <<user-admin-account>>.
* 安装网站时自动创建的管理员账号,或用户 1。请查看 <<user-admin-account>>。
==== What are Permissions?
==== 什么是权限?
The ability to do actions on your site (including viewing content, editing
content, and changing configuration) is governed by _permissions_. Each
permission has a name (such as _View published content_) and covers one action
or a small subset of actions. A user must be granted a permission in order to do
the corresponding action on the site; permissions are defined by the modules
that provide the actions.
权限决定用户是否能够在网站上执行操作(包括浏览内容,编辑内容,以及改变配置)。每个权限都有一个
名字 (比如:查看已发布内容) ,它控制一个操作或者多个操作。用户必须被授予权限才能在站点上执行
相应的操作。权限由提供操作的模块定义。
==== What are Roles?
==== 什么是角色?
Rather than assigning individual permissions directly to each user, permissions
are grouped into _roles_. You can define one or more roles on your site, and
then grant permissions to each role. The permissions granted to authenticated
and anonymous users are contained in the _Authenticated user_ and _Anonymous
user_ roles, and depending on the installation profile you used when you
installed your site, there may also be an _Administrator_ role that is
automatically assigned all permissions on your site.
不同于直接为每个用户单独分配权限,角色包含一组权限. 您可以在网站上定义一个或更多角色,然后分配
不同的权限给不同的角色。授予给已登录用户和匿名用户的权限分别包含在已登录用户角色和匿名用户角色中。
取决于您在安装站点时选择的安装类型,可能会创建有一个叫管理员的角色。这个角色拥有所有的权限。
Each user account on your site is automatically given the _Authenticated user_
role, and may optionally be assigned one or more additional roles. When you
assign a role to a user account, the user will have all the permissions of the
role when logged in.
每个账号会自动获得已登录用户角色,同时,每个账号可以拥有一个或多个其他角色。当将角色分配给账号
后,该账号对应的用户在登录时将拥有该角色拥有的所有权限。
It is a good practice to make several roles on your site. In the farmers market
site example, you might want the following roles:
创建多个角色是一种好的实践。以农贸市场站点为例,可能需要以下角色:
* A Vendor role that allows vendors to edit their own vendor listing page
* 供应商角色,允许供应商编辑自己的供应商列表页面
* A Content editor role for editing the general farmers market pages
* 内容编辑角色,用于编辑一般农贸市场页面
* A User manager role for managing the vendor accounts
* 用户管理员角色,用于管理供应商帐户
* The _Administrator_ role that was installed with your site, for expert users
to manage the site configuration
* 管理员角色,安装网站时自动创建,供高级用户管理站点配置
==== Related topics
==== 相关话题
* <<user-new-role>>
* <<user-permissions>>
......@@ -72,18 +59,20 @@ to manage the site configuration
* <<user-admin-account>>
* <<user-content>>
==== Additional resources
==== 相关资料
* https://www.drupal.org/node/120614[_Drupal.org_ community documentation page "Users, roles and permissions"]
* https://www.drupal.org/docs/7/managing-users[_Drupal.org_ community documentation page "Managing Users"]
* https://www.drupal.org/node/1803614[_Drupal.org_ community documentation page "User Roles"]
* https://www.drupal.org/node/120614[Drupal 官网文档:用户,角色和权限]
* https://www.drupal.org/docs/7/managing-users[Drupal 官网文档:管理用户]
* https://www.drupal.org/node/1803614[Drupal 官网文档:用户角色]
*Attributions*
*贡献者*
Adapted by https://www.drupal.org/u/mark-lacroix[Mark LaCroix],
https://www.drupal.org/u/batigolix[Boris Doesborg], and
https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon] from
https://www.drupal.org/node/1803614["User Roles"],
copyright 2000-2017 by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
编写: https://www.drupal.org/u/mark-lacroix[Mark LaCroix],
https://www.drupal.org/u/batigolix[Boris Doesborg],和
https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon] 改编自
https://www.drupal.org/node/1803614[用户角色],
©️ 2000-2017 https://www.drupal.org/documentation[Drupal 社区文档]贡献者
翻译: https://www.drupal.org/u/jungle[冉强军] @ https://intergreat.com[InterGreat Education Group],
https://www.drupal.org/user/3597281[qingguo]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment