Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev sandbox] Cannot push to a github branch: permission denied #23212

Closed
vitaliy-guliy opened this issue Oct 29, 2024 · 3 comments
Closed

[dev sandbox] Cannot push to a github branch: permission denied #23212

vitaliy-guliy opened this issue Oct 29, 2024 · 3 comments
Assignees
Labels
area/che-server kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@vitaliy-guliy
Copy link
Contributor

vitaliy-guliy commented Oct 29, 2024

Describe the bug

I permanently face issues with pushing to my branch in che-code repository.
At the same time there is no problems with pushing to the branch from the dogfooding cluster.

When I forked che-code and then crate a workspace from a fork, everything is fine.
The issue appear only on the developer sandbox when pushing to a branch in che-code* repository.

* in fact, not only to che-code repository

Che version

7.93@latest

Steps to reproduce

I'm not sure it is reproducible for other accounts.

  1. Create a workspace using https://github.com/che-incubator/che-code
  2. Create a branch, do some changes, commit and push

Expected behavior

A branch should be pushed.

Runtime

OpenShift

Screenshots

Screenshot from 2024-10-29 13-29-52

Environment

Dev Sandbox (workspaces.openshift.com)

@vitaliy-guliy vitaliy-guliy added kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. labels Oct 29, 2024
@ibuziuk ibuziuk added severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. area/che-server severity/P1 Has a major impact to usage or development of the system. and removed severity/P1 Has a major impact to usage or development of the system. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. labels Oct 29, 2024
@ibuziuk ibuziuk self-assigned this Oct 30, 2024
@ibuziuk
Copy link
Member

ibuziuk commented Oct 31, 2024

@vitaliy-guliy have you granted the permissions to the che-incubator organization:
Screenshot 2024-10-31 at 15 44 33

@ibuziuk ibuziuk assigned vinokurig and unassigned vinokurig Nov 4, 2024
@vitaliy-guliy
Copy link
Contributor Author

@ibuziuk I've requested access to che-incubator for Red Hat OpenShift Dev Spaces (Developer Sandbox) and waiting for the response.
I will comment here once my request is granted.

@vitaliy-guliy
Copy link
Contributor Author

vitaliy-guliy commented Nov 5, 2024

Everything's fine, after getting the permissions I can easily commit and push to https://github.com/che-incubator/che-code repository.

To get the access to the repository I had to open the github settings, then go to

Settings > Applications > Authorized OAuth Apps > Red Hat OpenShift Dev Spaces (Developer Sandbox)

There is a list of organizations. To have the access to the organization repositories I requested permissions by clicking a button

Screenshot from 2024-11-05 17-04-29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants