Project

General

Profile

Feature #26488

graphql: add currentUser query

Added by Timo Goebel about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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 almost 4 years ago

fixes #26488 - graphql: add currentUser query

History

#1 Updated by The Foreman Bot about 4 years ago

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

#2 Updated by Timo Goebel about 4 years ago

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

#3 Updated by Tomer Brisker almost 4 years ago

  • Fixed in Releases 1.22.0 added

#4 Updated by Timo Goebel almost 4 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF