Skip to content

RFC211: list external services allow filtering by user

Warren Gifford requested to merge jc/allow-list-user-external-services into main

Created by: unknwon

Modified our GraphQL query to accept an optional namespace argument to filter external services by user. Besides, site admin is able to list all or arbitrary user's external services.

The namespace argument is used instead of always relying on authenticated user because then we couldn't distinguish if a site admin wants to list all external services or is just viewing his/her user settings (i.e. external services owned by the particular site admin).

Example usage:

{
  externalServices(namespace: "VXNlcjoy") {
    nodes {
      id
      kind
      config
    }
  }
}

Fixes #12704 (closed)

Merge request reports

Loading