Skip to main content

Removing a collaborator from a repository security advisory

When you remove a collaborator from a repository security advisory, they lose read and write access to the security advisory's discussion and metadata.

谁可以使用此功能?

具有管理员角色的存储库所有者、组织所有者、安全管理员和用户

注意

本文适用于公共存储库中的存储库级别安全公告。 要在 GitHub Advisory Database 中编辑全局安全公告,请参阅 Editing security advisories in the GitHub Advisory Database

Removing a collaborator from a security advisory

如果你从存储库或组织中删除某个用户,并且该用户也是安全公告上的协作者,GitHub 将自动删除该用户作为安全公告的协作者。 这可以防止任何未经授权的前协作者访问。

  1. 在 GitHub 上,导航到存储库的主页面。

  2. 在存储库名称下,单击 Security and quality 选项卡。如果看不到“ Security and quality”选项卡,请选择 下拉菜单,然后单击 Security and quality

  3. 在左边栏中的“Reporting”下,单击 “Advisories”****。

  4. In the "Security Advisories" list, click the name of the security advisory you'd like to remove a collaborator from.

  5. On the right side of the page, under "Collaborators", find the name of the user or team you'd like to remove from the security advisory.

  6. Next to the collaborator you want to remove, click Remove.

    Screenshot of the "Collaborators" area in the right sidebar of a draft security advisory. The "Remove username" button is outlined in dark orange.

Further reading