Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

github app: add note that only org owners can view org installations#53611

Merged
courier-new merged 1 commit into
mainfrom
kr/org-owners-note
Jun 20, 2023
Merged

github app: add note that only org owners can view org installations#53611
courier-new merged 1 commit into
mainfrom
kr/org-owners-note

Conversation

@courier-new

Copy link
Copy Markdown
Contributor

@st0nebraker pointed out in a previous PR that the "View on GitHub" link for GitHub App installations only works if you are able to administer that installation, e.g. that you are an org owner for the org where it's installed, if it's on an org, or that you are the user. If we had this information, we could just hide the button for installations the user can't actually view, but since we don't, we thought it could help to add a note instead.

Test plan

Just an in-product docs change. Verified the text appears on the GitHub App page.

@courier-new courier-new requested review from a team, kopancek and pjlast June 16, 2023 16:33
@courier-new courier-new self-assigned this Jun 16, 2023
@cla-bot cla-bot Bot added the cla-signed label Jun 16, 2023
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@courier-new courier-new merged commit be1ff32 into main Jun 20, 2023
@courier-new courier-new deleted the kr/org-owners-note branch June 20, 2023 17:32
github-actions Bot pushed a commit that referenced this pull request Jun 20, 2023
coury-clark pushed a commit that referenced this pull request Jun 20, 2023
… installations (#53790)

@st0nebraker [pointed
out](https://github.com/sourcegraph/sourcegraph/pull/53212#pullrequestreview-1475310777)
in a previous PR that the "View on GitHub" link for GitHub App
installations only works if you are able to administer that
installation, e.g. that you are an org owner for the org where it's
installed, if it's on an org, or that you are the user. If we had
this information, we could just hide the button for installations the
user can't actually view, but since we don't, we thought it
could help to add a note instead.

## Test plan

Just an in-product docs change. Verified the text appears on the GitHub
App page.

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
 <br> Backport be1ff32 from #53611

Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants