Skip to main content

Adding a collaborator to a repository security advisory

You can add other users or teams to collaborate on a security advisory with you.

谁可以使用此功能?

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

注意

本文适用于以公共存储库所有者身份编辑存储库级别建议的情形。

不是存储库所有者的用户可以在 github.com/advisories 上的 GitHub Advisory Database 中参与全局安全建议。 对全局公告的编辑不会改变或影响公告在存储库中的显示方式。 有关详细信息,请参阅“Editing security advisories in the GitHub Advisory Database”。

Adding a collaborator to a security advisory

Collaborators have write permissions to the security advisory. For more information, see 存储库安全公告的权限级别.

注意

如果你从存储库或组织中删除某个用户,并且该用户也是安全公告上的协作者,GitHub 将自动删除该用户作为安全公告的协作者。 这可以防止任何未经授权的前协作者访问。 For more information about removing a collaborator on a security advisory, see Removing a collaborator from a repository security advisory.

  1. 在 GitHub 上,导航到存储库的主页面。
  2. 在仓库名称下,单击 “Security”****。 如果看不到“Security”选项卡,请选择 下拉菜单,然后单击“Security”********。
    存储库标头的屏幕截图,其中显示了选项卡。 “安全性”选项卡以深橙色边框突出显示。
  3. 在左边栏中的“Reporting”下,单击 “Advisories”****。
  4. In the "Security Advisories" list, click the security advisory you'd like to add a collaborator to.
  5. On the right side of the page, under "Collaborators", type the name of the user or team you'd like to add to the security advisory.
  6. Click to add the selected user or team as a collaborator.
    Screenshot of the "Collaborators" area in the sidebar of a draft security advisory. The "Add collaborator" button, a plus icon, is outlined in orange.

Further reading