Skip to content

Commit 2b3cbe8

Browse files
Document enterprise_organization_installations permission requirement for APP_ENT
1 parent 8f94994 commit 2b3cbe8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/instructions/tests.instructions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ Secrets:
2525
Homed in `MSX`. ClientID: `Iv23lieHcDQDwVV3alK1`.
2626
Installed on [psmodule-test-org3](https://github.com/orgs/psmodule-test-org3) (enterprise org) with all permissions and push events.
2727

28+
Required enterprise-scoped permissions (configured on the app, homed in `msx`):
29+
30+
- `enterprise_organization_installations: write` — required by `Install-GitHubApp` on enterprise-owned organizations
31+
([docs](https://docs.github.com/rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization)).
32+
The Organizations test creates an enterprise organization and then installs the app on it; the
33+
endpoint returns 404 (not 403) when this permission is missing, which makes a missing
34+
permission look like a missing resource. See issue #596.
35+
2836
Secrets: `TEST_APP_ENT_CLIENT_ID`, `TEST_APP_ENT_PRIVATE_KEY`
2937

3038
### APP_ORG — PSModule Organization App

0 commit comments

Comments
 (0)