Skip to main content

存储库安全公告的权限级别

你在存储库安全公告中可以执行的操作取决于你是公告的管理员还是对其有写入权限。

本文内容

Permissions overview

Repository owners, organization owners, security managers, and users with the admin role can:

  • Create a security advisory for the repository.
  • Access all security advisories for the repository.
  • Add collaborators to the security advisory.

Collaborators have write permissions to the security advisory.

ActionWrite permissionsAdmin permissions
See a draft security advisory
Add collaborators to the security advisory (see Adding a collaborator to a repository security advisory)
Edit and delete any comments in the security advisory
Create a temporary private fork in the security advisory (see Collaborating in a temporary private fork to resolve a repository security vulnerability)
Add changes to a temporary private fork in the security advisory (see Collaborating in a temporary private fork to resolve a repository security vulnerability)
Create pull requests in a temporary private fork (see Collaborating in a temporary private fork to resolve a repository security vulnerability)
Merge changes in the security advisory (see Collaborating in a temporary private fork to resolve a repository security vulnerability)
Add and edit metadata in the security advisory (see Publishing a repository security advisory)
Add and remove credits for a security advisory (see Editing a repository security advisory)
Close the draft security advisory
Publish the security advisory (see Publishing a repository security advisory)

Permission differences for global security advisories

Unlike repository security advisories, anyone can contribute to global security advisories in the GitHub Advisory Database at github.com/advisories. Edits to global advisories will not change or affect how the advisory appears on the repository. See Editing security advisories in the GitHub Advisory Database.

Further reading