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
A workspace is a resource isolation unit in Testany, used to:
- Organize the team's testing resources
- Control access permissions
- Isolate different projects/teams
Role permissions
| Role | Permission |
|---|---|
| Admin | Manage members, edit all resources |
| Member | Create and edit your own resources |
Common operations
View my workspaces
testany_get_my_workspaces
testany_get_my_workspaces_with_roles # 包含角色信息
Add members
testany_list_users → 查找用户
testany_assign_user_to_workspace → 添加单个用户
testany_assign_users_to_workspace → 批量添加
Modify member roles
testany_find_workspace_users → 查找工作空间下所有用户
testany_assign_user_to_workspace → 修改单个用户
Get workspace member list
testany_find_workspace_users → 查找工作空间下现有成员
Remove members
testany_remove_user_from_workspace → 从工作空间移除用户
Request a new workspace
testany_check_workspace_key → 检查 workspace key 是否可用
testany_request_workspace → 提交申请
Note: Before requesting, you must first call testany_check_workspace_key to check whether the key is already in use.
Workflow
- Confirm the target: Which workspace to operate on?
- Get the current state:
testany_get_my_workspaces_with_roles - Execute the operation: Add members, modify roles, etc.
- Confirm the result: Return the operation status
Return format
After the task is completed, report to the user:
- Operation result
- Affected members/workspaces
- Current permission status
Reference documentation
For detailed concepts, please refer to: