Project

General

Profile

Feature #26488

graphql: add currentUser query

Added by Timo Goebel 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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

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

Associated revisions

Revision f04d8d48 (diff)
Added by Timo Goebel 6 months ago

fixes #26488 - graphql: add currentUser query

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6629 added

#2 Updated by Timo Goebel 7 months ago

  • Related to Tracker #22109: Foreman should support a graphql api added

#3 Updated by Tomer Brisker 6 months ago

  • Fixed in Releases 1.22.0 added

#4 Updated by Timo Goebel 6 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF