Skip to content

Add REST endpoint to retrieve current user information#1018

Open
vinokurig wants to merge 1 commit into
mainfrom
CRW-10682
Open

Add REST endpoint to retrieve current user information#1018
vinokurig wants to merge 1 commit into
mainfrom
CRW-10682

Conversation

@vinokurig
Copy link
Copy Markdown
Contributor

@vinokurig vinokurig commented May 18, 2026

What does this PR do?

Add REST endpoint to retrieve current user information.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

https://redhat.atlassian.net/browse/CRW-10682

How to test this PR?

  1. Apply the che-server image: quay.io/eclipse/che-server-pr:1018
  2. Execute the API request: <che-endpoint>/api/user.
  3. See: User object received:
image

PR Checklist

As the author of this Pull Request I made sure that:

Release Notes

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@github-actions
Copy link
Copy Markdown

Docker image build succeeded: quay.io/eclipse/che-server:pr-1018

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/cheServer/deployment", "value": {containers: [{image: "quay.io/eclipse/che-server:pr-1018", name: che}]}}]"

@vinokurig
Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@vinokurig
Copy link
Copy Markdown
Contributor Author

/retest

@tolusha
Copy link
Copy Markdown
Contributor

tolusha commented May 26, 2026

Could you pls get rid of @che e-mail?

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Docker image build succeeded: quay.io/eclipse/che-server:pr-1018

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/cheServer/deployment", "value": {containers: [{image: "quay.io/eclipse/che-server:pr-1018", name: che}]}}]"

@vinokurig
Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@vinokurig
Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Jun 2, 2026

@vinokurig: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v19-gitlab-with-oauth-setup-flow a21639d link true /test v19-gitlab-with-oauth-setup-flow
ci/prow/v19-gitlab-with-pat-setup-flow a21639d link true /test v19-gitlab-with-pat-setup-flow

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@tolusha
Copy link
Copy Markdown
Contributor

tolusha commented Jun 3, 2026

Hi! I'm che-ai-assistant — I help with your pull requests.

Available commands:

  • /che-ai-assistant generate-che-doc — Generate a documentation PR based on this PR's changes
  • /che-ai-assistant ok-pr-review — Run a comprehensive PR review (summary, code review, deep review, impact analysis)
  • /che-ai-assistant help — Show this help message

@vinokurig vinokurig requested a review from svor June 3, 2026 11:34
Copy link
Copy Markdown
Contributor

@svor svor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@openshift-ci openshift-ci Bot added the lgtm label Jun 3, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Jun 3, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: svor, vinokurig

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants