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

[Backport 5.2] [bug] Display user permissions even if the GQL resolver has errors#57385

Merged
keegancsmith merged 3 commits into
5.2from
backport-57375-to-5.2
Oct 16, 2023
Merged

[Backport 5.2] [bug] Display user permissions even if the GQL resolver has errors#57385
keegancsmith merged 3 commits into
5.2from
backport-57375-to-5.2

Conversation

@sourcegraph-release-bot

@sourcegraph-release-bot sourcegraph-release-bot commented Oct 5, 2023

Copy link
Copy Markdown
Collaborator

Fixes an issue where admins can't view a user's permissions if they don't have access to all of the repos a user has access to.

Previously the page would just load forever, now admins are told they can't see the repo:

image

Test plan

Manual tests


Backport 18c70e0 from #57375

@sourcegraph-bot

sourcegraph-bot commented Oct 5, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 5775b5e...ea23794.

Notify File(s)
@unknwon cmd/frontend/internal/authz/resolvers/permissions_info.go

@sourcegraph-bot

sourcegraph-bot commented Oct 5, 2023

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@keegancsmith keegancsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but changelog is borked and should be under 5.2.1 unreleased

@eseliger eseliger removed the team/iam label Oct 9, 2023
@keegancsmith keegancsmith enabled auto-merge (squash) October 16, 2023 12:31
@keegancsmith keegancsmith added the backport/bugfix Standard patches to fix bugs label Oct 16, 2023
@keegancsmith keegancsmith merged commit 231d90b into 5.2 Oct 16, 2023
@keegancsmith keegancsmith deleted the backport-57375-to-5.2 branch October 16, 2023 13:27
@varungandhi-src varungandhi-src mentioned this pull request Jan 16, 2024
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.

5 participants