Install GitHub app on repo as an admin but not org owner #109332
Select Topic AreaQuestion BodyI am the owner of a GitHub organization and I would like an organization member to install a GitHub app on a repository that they are an admin of. From the GitHub app documentation this should be possible:
However, the repository admin can only request to have the GitHub app installed. I checked that the GitHub app does not request any organization resources. Is there a way to allow users to install a GitHub app on a repository that they are an admin of? Or is it possible that that section of the documentation is outdated? |
Replies: 3 comments 2 replies
|
Firstly you should to try review organization settings. Check the settings of your GitHub organization to ensure that there are no restrictions in place that might prevent repository admins from installing GitHub Apps. Look for any settings related to app installation permissions or restrictions. Also It wont be bad if you would check app permissions. Double-check the permissions that the GitHub app is requesting. Ensure that it's not requesting access to any organization-level resources, as this could prevent repository admins from installing the app. |
|
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".
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. |
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".
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.