Skip to content

Fetch user's external accounts via user and not site

Administrator 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