Skip to content
Snippets Groups Projects

Fetch user's external accounts via user and not site

Merged Warren Gifford requested to merge cloud/fix-external-accounts-query into main

Created by: artemruts

Description

Fixes #18269 (closed)

Previously errors where thrown when non-admin users tried to access their external accounts through the site GraphQL node, that's not ok. Only admins can access site - that's why we saw errors.
Now users will use correct user node instead.

Tests

With both admin and non-admin users and with non-admin users trying to access other user's external accounts.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading