我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

Editing a GitHub App's permissions

注册 GitHub 应用程序后,您可以修改其权限。

此文档对您有帮助吗?

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。

Note: Updated permissions won't take effect on an installation until the owner of the account or organization approves the changes. You can use the InstallationEvent webhook to find out when people accept new permissions for your app. One exception is user-level permissions, which don't require the account owner to approve permission changes.

  1. 在任何页面的右上角,单击您的个人资料照片,然后单击 Settings(设置)
    用户栏中的 Settings 图标
  2. 在左侧边栏中,单击 Developer settings
    Developer settings 部分
  3. 在左侧边栏中,单击 GitHub Apps(GitHub 应用程序)
    GitHub Apps 部分
  4. Select the GitHub App whose permissions you want to change.
    App selection
  5. In the left sidebar, click Permissions & webhooks.
    Permissions and webhooks
  6. Modify the permissions you'd like to change. For each type of permission, select either "Read-only", "Read & write", or "No access" from the dropdown.
    Permissions selections for your GitHub App
  7. In "Subscribe to events", select any events to which you'd like to subscribe your app.
    Permissions selections for subscribing your GitHub App to events
  8. Optionally, in "Add a note to users", add a note telling your users why you are changing the permissions that your GitHub App requests.
    Input box to add a note to users explaining why your GitHub App permissions have changed
  9. 单击 Save changes(保存更改)
    Button to save permissions changes

此文档对您有帮助吗?

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。