Project

General

Profile

Actions

Feature #26488

closed

graphql: add currentUser query

Added by Timo Goebel about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

A graphql user should be able to get information about himself.

A query to get all usergroups for the currently signed in user should look like this:

   currentUser {
      usergroups {
        id
        name
      }
    }

Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #22109: Foreman should support a graphql apiNew

Actions
Actions

Also available in: Atom PDF