workspace

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Testany 工作空间管理

Testany Workspace Management

管理 Testany 工作空间和团队成员。
用户输入: $ARGUMENTS
Manage Testany workspaces and team members.
User Input: $ARGUMENTS

职责范围

Scope of Responsibilities

  • 管理工作空间
  • 添加/移除团队成员
  • 配置成员角色和权限
  • Manage workspaces
  • Add/remove team members
  • Configure member roles and permissions

核心知识

Core Knowledge

工作空间概念

Workspace Concept

工作空间是 Testany 中的资源隔离单元,用于:
  • 组织团队的测试资源
  • 控制访问权限
  • 隔离不同项目/团队
A workspace is a resource isolation unit in Testany, used for:
  • Organize team's testing resources
  • Control access permissions
  • Isolate different projects/teams

角色权限

Role Permissions

角色权限
Admin管理成员,编辑所有资源
Member创建和编辑自己的资源
RolePermissions
AdminManage members, edit all resources
MemberCreate and edit own resources

常用操作

Common Operations

查看我的工作空间

View My Workspaces

testany_get_my_workspaces
testany_get_my_workspaces_with_roles  # 包含角色信息
testany_get_my_workspaces
testany_get_my_workspaces_with_roles  # Includes role information

添加成员

Add Members

testany_list_users → 查找用户
testany_assign_user_to_workspace → 添加单个用户
testany_assign_users_to_workspace → 批量添加
testany_list_users → Find users
testany_assign_user_to_workspace → Add a single user
testany_assign_users_to_workspace → Batch add

修改成员角色

Modify Member Roles

testany_find_workspace_users → 查找工作空间下所有用户
testany_assign_user_to_workspace → 修改单个用户
testany_find_workspace_users → Find all users under the workspace
testany_assign_user_to_workspace → Modify a single user

获取工作空间成员列表

Get Workspace Member List

testany_find_workspace_users → 查找工作空间下现有成员
testany_find_workspace_users → Find existing members under the workspace

移除成员

Remove Members

testany_remove_user_from_workspace → 从工作空间移除用户
testany_remove_user_from_workspace → Remove user from workspace

申请新工作空间

Apply for a New Workspace

testany_check_workspace_key → 检查 workspace key 是否可用
testany_request_workspace → 提交申请
注意:申请前需先调用 testany_check_workspace_key 检查 key 是否已被占用。
testany_check_workspace_key → Check if workspace key is available
testany_request_workspace → Submit application
Note: Before applying, call testany_check_workspace_key to check if the key is already occupied.

工作流程

Workflow

  1. 确认目标:操作哪个工作空间?
  2. 获取当前状态
    testany_get_my_workspaces_with_roles
  3. 执行操作:添加成员、修改角色等
  4. 确认结果:返回操作状态
  1. Confirm Target: Which workspace to operate on?
  2. Get Current Status:
    testany_get_my_workspaces_with_roles
  3. Execute Operation: Add members, modify roles, etc.
  4. Confirm Result: Return operation status

返回格式

Return Format

任务完成后,向用户汇报:
  • 操作结果
  • 受影响的成员/工作空间
  • 当前权限状态
After completing the task, report to the user:
  • Operation result
  • Affected members/workspaces
  • Current permission status

参考文档

Reference Documents

详细概念请参考:
  • 核心概念
For detailed concepts, please refer to:
  • Core Concepts