PR Creator is unable to change target branch #14136

Closed
opened 2025-11-02 11:04:01 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @bartvdbraak on GitHub (Feb 13, 2025).

Description

Whenever someone creates a PR, they are unable to change the target branch even though maintainers of that repo will be able to.

Is this expected behaviour? Should that be communicated in some way?

Gitea Version

1.23.3 built with GNU Make 4.4.1, go1.23.6 : bindata, timetzdata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

https://github.com/user-attachments/assets/c2ccc31b-07f3-4107-904a-1e2ea3c09e96

Git Version

2.47.2

Operating System

Ubuntu 24.04.2

How are you running Gitea?

Docker Compose file with custom image from https://github.com/blender/gitea/tree/apply-patches-v1.23.3

Database

PostgreSQL

Originally created by @bartvdbraak on GitHub (Feb 13, 2025). ### Description Whenever someone creates a PR, they are unable to change the target branch even though maintainers of that repo will be able to. Is this expected behaviour? Should that be communicated in some way? ### Gitea Version 1.23.3 built with GNU Make 4.4.1, go1.23.6 : bindata, timetzdata, sqlite, sqlite_unlock_notify ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots https://github.com/user-attachments/assets/c2ccc31b-07f3-4107-904a-1e2ea3c09e96 ### Git Version 2.47.2 ### Operating System Ubuntu 24.04.2 ### How are you running Gitea? Docker Compose file with custom image from https://github.com/blender/gitea/tree/apply-patches-v1.23.3 ### Database PostgreSQL
GiteaMirror added the issue/regressiontype/bug labels 2025-11-02 11:04:01 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Feb 14, 2025):

Can you reproduce the bug on the Gitea demo site?

Yes

I can't reproduce on the demo site.

Image


Gitea Version

1.23.3 built with GNU Make 4.4.1, go1.23.6 : bindata, timetzdata, sqlite, sqlite_unlock_notify
I can't reproduce it with 1.23.3

Image

@wxiaoguang commented on GitHub (Feb 14, 2025): > ### Can you reproduce the bug on the Gitea demo site? > > Yes <details> <summary>I can't reproduce on the demo site.</summary> ![Image](https://github.com/user-attachments/assets/005db9d6-4121-4627-842d-02f9c4afa396) </details> ---- > ### Gitea Version > > ``` > 1.23.3 built with GNU Make 4.4.1, go1.23.6 : bindata, timetzdata, sqlite, sqlite_unlock_notify > ``` <details> <summary>I can't reproduce it with 1.23.3</summary> ![Image](https://github.com/user-attachments/assets/1e5c249d-19b7-47d1-afd3-d4dc40a3dfc6) </details>
Author
Owner

@lunny commented on GitHub (Feb 14, 2025):

Can you reproduce the bug on the Gitea demo site?

Yes

I can't reproduce on the demo site.

Gitea Version

I can't reproduce it with 1.23.3

Maybe you need to test with a pull request read permission user.

@lunny commented on GitHub (Feb 14, 2025): > > ### Can you reproduce the bug on the Gitea demo site? > > Yes > > I can't reproduce on the demo site. > > > ### Gitea Version > > I can't reproduce it with 1.23.3 Maybe you need to test with a pull request read permission user.
Author
Owner

@wxiaoguang commented on GitHub (Feb 14, 2025):

Maybe you need to test with a pull request read permission user.

I see, it is related to the "read" permission. It is a regression

@wxiaoguang commented on GitHub (Feb 14, 2025): > Maybe you need to test with a pull request read permission user. I see, it is related to the "read" permission. It is a regression
Author
Owner

@wxiaoguang commented on GitHub (Feb 14, 2025):

-> Fix PR's target branch dropdown #33589

@wxiaoguang commented on GitHub (Feb 14, 2025): -> Fix PR's target branch dropdown #33589
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14136