用户模块: Difference between revisions

no edit summary
No edit summary
Tag: 2017 source edit
No edit summary
Line 6: Line 6:
{{模块模板|name=Users|num=0|userdoc=本页|devdoc=[[Module Users (developer)]]}}
{{模块模板|name=Users|num=0|userdoc=本页|devdoc=[[Module Users (developer)]]}}


=Introduction=
=简介=
Module Users is a mandatory module. It's the only Dolibarr module you can't disable. Its role is to manage users, groups and their permissions into Dolibarr, so to manage the 2 following objects:
用户模块是一个必需模块。这是唯一一个你不能禁用的Dolibarr模块。它的作用是管理用户、组及其对 Dolibarr 的权限,因此要管理以下 2 个对象:


*Dolibarr users
*Dolibarr 用户
*Dolibarr user groups
*Dolibarr 用户组


=Installation=
=安装=
This module is always enabled and is the only module that can't be disabled, so there is nothing to do to install it.
此模块始终处于启用状态,而且是唯一无法禁用的模块,因此无需进行安装。


=Configuration=
=配置=
There is no particular setup actions for this module.
此模块没有特定的配置操作。


=Definitions=
=定义=
An '''internal''' user is a user (with its own login to the application) who is part of your company/foundation and can use the Dolibarr system.
'''内部用户'''是您公司/基金会的成员、并且可以使用 Dolibarr 系统的用户(拥有个人的登录名)。


An '''external''' user can be a customer, a supplier or other who is permitted to use the Dolibarr system. So an external user is a user (with its own login to the application) but always linked to a thirdparty object (customer or supplier)
'''外部用户'''可以是客户、供应商或其他被允许使用 Dolibarr 系统的人。因此,外部用户是一个始终链接到第三方对象(客户或供应商)的用户(拥有个人的登录名)。


In both cases, permissions define the access level (read, write, delete) on the data.
在这两种情况下,权限都定义了对数据的访问级别(读取、写入、删除)。


The main difference between an internal and an external user is that an external user can see (if permissions were granted) ONLY the objects linked to the third party of the user. So the external user "Mr smith" of the company "Smith and co" can only see orders, invoices, proposals, ... created for the company "Smith and co".
内部用户和外部用户之间的主要区别在于,外部用户只能看到(如果授予了权限)链接到用户的第三方的对象。因此,“Smith and co”公司的外部用户“Mr smith”只能看到为“Smith and co”创建的订单,发票,提案...。


So external users are mostly used to give an access to the ERP to your customer or resellers so they can't see nothing related to other customer or suppliers.
因此,外部用户主要用于向您的客户或供应商授予对ERP的访问权限,因此他们看不到与其他客户或供应商相关的任何内容。 内部用户通常用于向员工授予访问权限。
Internal users are often used to give access to the employees.


Note that external users can also have a different menu manager than internal users (See Home - Setup - Display), but this is not often used
请注意,外部用户也可以具有与内部用户不同的菜单管理器(请参阅主页 - 设置 - 显示),但这并不经常使用。


=Life cycle / Business rules=
=生命周期 / 业务规则=
==Creating an internal user==
==创建内部用户==
Creating internal user is straight forward:
Creating internal user is straight forward:
Go to menu '''Home -> Users & groups -> New user.'''
Go to menu '''Home -> Users & groups -> New user.'''
714

edits