Skip to content
Discussion options

You must be logged in to vote

It is possible to have an admin install a GitHub app on a repository, even if they are not the owner of the organization.

This is not possible if the GitHub app requests read or write repository permissions for "Administration".

The reasoning is due to the repo/administration permission allowing requests that modify the organization, such as POST {org}/repo. It can more aptly be viewed as a permission to modify repos within an org as opposed to an individual repo.

In summary if a GitHub App requests "Administration" permissions on a repository, then the app can only be installed by the owner of an organization.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@vishalratnamio
Comment options

@vishalratnamio
Comment options

Answer selected by eleftherias

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apps API and Webhooks Discussions related to GitHub's APIs or Webhooks Question Ask and answer questions about GitHub features and usage
4 participants