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

[Backport 5.2] [bug] Fix user permissions page with no external accounts#57379

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

[Backport 5.2] [bug] Fix user permissions page with no external accounts#57379
keegancsmith merged 3 commits into
5.2from
backport-57372-to-5.2

Conversation

@sourcegraph-release-bot

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

Copy link
Copy Markdown
Collaborator

If a user has had no effective permission syncs (like having no external accounts connected), the user permissions page would not work. This PR adds a case for having had no permission syncs.

Before:

Screenshot 2023-10-05 at 12 01 55

After:

Screenshot 2023-10-05 at 12 12 43

Test plan

Manual verification + tests should still pass.


Backport 52be312 from #57372

@sourcegraph-bot

sourcegraph-bot commented Oct 5, 2023

Copy link
Copy Markdown
Contributor

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

Notify File(s)
@unknwon cmd/frontend/internal/authz/resolvers/permissions_info.go
cmd/frontend/internal/authz/resolvers/resolver.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.

same as other backport PR comments, changelog section needs to be correct. Feel free to rather land all these PRs then create a new PR which fixes the changelog given doing each one is just gonna result in merge conflicts.

@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 e8c1178 into 5.2 Oct 16, 2023
@keegancsmith keegancsmith deleted the backport-57372-to-5.2 branch October 16, 2023 13:29
@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