Projects
Feature availability
除社区版外,所有计划均提供 RBAC。不同的套餐包含的项目和角色数量不同。请参阅 n8n 的 定价页面 了解计划详情。
¥RBAC is available on all plans except the Community edition. Different plans have different numbers of projects and roles. Refer to n8n's pricing page for plan details.
n8n 使用项目对工作流和 credentials 进行分组,并为每个项目中的用户分配 roles。这意味着单个用户可以在不同的项目中拥有不同的角色,从而获得不同的访问权限。
¥n8n uses projects to group workflows and credentials, and assigns roles to users in each project. This means that a single user can have different roles in different projects, giving them different levels of access.
创建项目#
¥Create a project
实例所有者和实例管理员可以创建项目。
¥Instance owners and instance admins can create projects.
创建项目:
¥To create a project:
¥Select Add project. 2. 填写项目设置。
¥Fill out the project settings. 3. 选择“保存”。
¥Select Save.
在项目中添加和删除用户#
¥Add and remove users in a project
项目管理员可以添加和删除用户。
¥Project admins can add and remove users.
要向项目添加用户:
¥To add a user to a project:
- 选择项目。
¥Select the project. 2. 选择“项目设置”。
¥Select Project settings. 3. 在“项目成员”下,浏览用户或按用户名或电子邮件地址搜索。
¥Under Project members, browse for users or search by username or email address. 4. 选择要添加的用户。
¥Select the user you want to add. 5. 检查 角色类型 文件,如有需要请进行更改。
¥Check the role type and change it if needed. 6. 选择“保存”。
¥Select Save.
要从项目中移除用户:
¥To remove a user from a project:
- 选择项目。
¥Select the project. 2. 选择“项目设置”。
¥Select Project settings. 3. 在要删除的用户的三点菜单中,选择“删除用户”。
¥In the three-dot menu for the user you want to remove, select Remove user. 4. 选择“保存”。
¥Select Save.
删除项目#
¥Delete a project
删除项目:
¥To delete a project:
- 选择项目。
¥Select the project. 2. 选择“项目设置”。
¥Select Project settings. 3. 选择“删除项目”。
¥Select Delete project. 4. 选择如何处理工作流和凭据。你可以选择:
¥Choose what to do with the workflows and credentials. You can select:
-
将其工作流和凭据转移到另一个项目:n8n 会提示你选择要将数据移动到的项目。
¥Transfer its workflows and credentials to another project: n8n prompts you to choose a project to move the data to.
-
删除其工作流和凭据。n8n 会提示你确认是否要删除项目中的所有数据。
¥Delete its workflows and credentials: n8n prompts you to confirm that you want to delete all the data in the project.
在项目或用户之间移动工作流和凭据#
¥Move workflows and credentials between projects or users
工作流和凭证所有者可以将工作流或凭证(更改所有权)移动给他们有权访问的其他用户或项目。
¥Workflow and credential owners can move workflows or credentials (changing ownership) to other users or projects they have access to.
Moving revokes sharing
移动工作流或凭据会移除所有现有共享。请注意,这可能会影响当前共享这些资源的其他工作流。
¥Moving workflows or credentials removes all existing sharing. Be aware that this could impact other workflows currently sharing these resources.
- 选择“工作流菜单”或“凭据菜单”>“移动”。
¥Select Workflow menu {.off-glb} or Credential menu {.off-glb} > Move.
Moving workflows with credentials
1 | |
- 选择要迁移到的项目或用户。
¥Select the project or user you want to move to. 2. 选择“下一步”。
¥Select Next. 3. 确认你了解此操作的影响。如果目标项目中缺少所需的凭据,工作流可能会停止运行,并且 n8n 会移除任何当前的个人共享。
¥Confirm you understand the impact of the move: workflows may stop working if the credentials they need aren't available in the target project, and n8n removes any current individual sharing. 4. 选择“确认移动到新项目”。
¥Select Confirm move to new project.
在项目中使用外部密钥#
¥Using external secrets in projects
要在项目中使用 外部密钥,你必须将 实例所有者或实例管理员 作为项目成员。
¥To use external secrets in a project, you must have an instance owner or instance admin as a member of the project.