管理员模式可枚举组织内的 Chat 空间
原文依据:3 处该 Skill 公开了组织级空间搜索,并明确要求将 `use_admin_access` 设为 `true`。提供的源码中没有限定允许搜索的组织范围、目的或结果处理方式。
若代理拥有管理员授权并在不必要的任务中使用该方法,可能暴露用户通常看不到的空间名称和相关空间元数据;后续如何处理这些结果取决于未提供的共享规则。
该行是在列举 Google Chat 的管理员搜索 API,并明确说明必须启用 `use_admin_access`;它没有要求默认、隐蔽或越权枚举空间。组织级搜索符合“管理 Chat 空间”的声明用途,且实际能力取决于已认证账号的管理员权限。仅凭未在此目录条目中规定搜索目的或结果处理,不能认定存在数据滥用风险。
这项判断针对展示的代码和适用条件,不表示风险已经实际发生。 - `patch` — Updates a space. For an example, see [Update a space](https://developers.google.com/workspace/chat/update-spaces). If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. - `search` — Returns a list of spaces in a Google Workspace organization based on an administrator's search. In the request, set `use_admin_access` to `true`. For an example, see [Search for and manage spaces](https://developers.google.com/workspace/chat/search-manage-admin). - `setup` — Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user.查看另外 2 个位置
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.name: gws-chatdescription: "Google Chat: Manage Chat spaces and messages."metadata: