Skip to content

Non-site admin user "Account security" page is broken

Created by: sqs

As a non-site admin user, when I visit my user profile's Account security page (eg https://k8s.sgdev.org/users/sqs/settings/security), I get an error Must be site admin and the spinner spins indefinitely:

2021-09-04_00-54

The error comes from the MinExternalAccounts GraphQL API query.

This makes the profile page unusable.

(Similar to https://github.com/sourcegraph/sourcegraph/issues/18269, but that was fixed.)