工作流共享#
¥Workflow sharing
Feature availability
适用于云专业版和企业版套餐,以及企业版自托管套餐。
¥Available on Pro and Enterprise Cloud plans, and Enterprise self-hosted plans.
工作流共享允许你在同一 n8n 实例的用户之间共享工作流。
¥Workflow sharing allows you to share workflows between users of the same n8n instance.
用户可以共享他们创建的工作流。实例所有者和具有管理员角色的用户可以查看和共享实例中的所有工作流。有关所有者和管理员的更多信息,请参阅 账户类型。
¥Users can share workflows they created. Instance owners, and users with the admin role, can view and share all workflows in the instance. Refer to Account types for more information about owners and admins.
共享工作流#
¥Share a workflow
- 打开要共享的工作流。
¥Open the workflow you want to share. 2. 选择“共享”。
¥Select Share. 3. 在“添加用户”中,找到并选择要与之共享的用户。
¥In Add users, find and select the users you want to share with. 4. 选择“保存”。
¥Select Save.
查看共享工作流#
¥View shared workflows
你可以在“工作流”列表中浏览和搜索工作流。列表中的工作流取决于项目:
¥You can browse and search workflows on the Workflows list. The workflows in the list depend on the project:
- 概览列出了你可以访问的所有工作流。这包括:
¥Overview lists all workflows you can access. This includes:
-
你自己的工作流。
¥Your own workflows.
-
与你共享的工作流
¥Workflows shared with you.
-
你所属项目中的工作流。
¥Workflows in projects you're a member of.
-
如果你以实例所有者或管理员身份登录:实例中的所有工作流。
¥If you log in as the instance owner or admin: all workflows in the instance.
-
其他项目:项目中的所有工作流。
¥Other projects: all workflows in the project.
工作流角色和权限#
¥Workflow roles and permissions
有两种工作流角色:创建者和编辑者。创建者是创建此流程的用户。编辑者是指有权访问工作流的其他用户。
¥There are two workflow roles: creator and editor. The creator is the user who created the workflow. Editors are other users with access to the workflow.
你无法更改工作流所有者,除非删除用户。
¥You can't change the workflow owner, except when deleting the user.
Credentials
工作流共享允许编辑人员使用工作流中使用的所有 credentials。这包括未使用 凭据共享 显式共享的凭据。
¥Workflow sharing allows editors to use all credentials used in the workflow. This includes credentials that aren't explicitly shared with them using credential sharing.
权限#
¥Permissions
| 权限 | 创建者 | 编辑者 |
|---|---|---|
| 查看工作流(只读) | :white_check_mark: | :white_check_mark: |
| 查看执行 | :white_check_mark: | :white_check_mark: |
| 更新(包括标签) | :white_check_mark: | :white_check_mark: |
| 运行 | :white_check_mark: | :white_check_mark: |
| 共享 | :white_check_mark: | |
| 导出 | :white_check_mark: | :white_check_mark: |
| 删除 | :white_check_mark: |
使用非共享凭据时节点编辑受限#
¥Node editing restrictions with unshared credentials
n8n 中的共享遵循最小权限原则。这意味着,如果用户与你共享工作流,但未共享其凭据,你将无法编辑工作流中使用这些凭据的节点。你可以查看并运行工作流,以及编辑未使用非共享凭据的节点。
¥Sharing in n8n works on the principle of least privilege. This means that if a user shares a workflow with you, but they don't share their credentials, you can't edit the nodes within the workflow that use those credentials. You can view and run the workflow, and edit nodes that don't use unshared credentials.
请参阅 凭据共享 以了解有关共享凭据的指导。
¥Refer to Credential sharing for guidance on sharing credentials.