Can't add User with "Owner" permissions on repo to branch protection rule #14965

Open
opened 2025-11-02 11:26:54 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @m-erhardt on GitHub (Sep 16, 2025).

Description

Environment:

  • Gitea 1.24.6

Issue

I have a repo with a master-branch and would like to add a specific user to the branch protection rule.
For some reason the user (which is an instance-admin and member of the "Owner" team of the organization the repo belongs to) does not show up in the dropdown list.

Image

As far as the reason goes I can only speculate. But I think it might relate to the total number of users in the organization (currently 25) or the time the user joined the instance.
When searching for users to add to the branch protection rule it seems that newer users which joined the instance/organization just recently does not show up in the search.

Any help or suggestions are welcome... 🙂

Gitea Version

1.24.6

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Image

Git Version

2.43.7

Operating System

Rocky Linux release 8.10 (Green Obsidian)

How are you running Gitea?

Binary distribution started via systemd unit

Database

MySQL/MariaDB

Originally created by @m-erhardt on GitHub (Sep 16, 2025). ### Description ### Environment: - Gitea 1.24.6 ### Issue I have a repo with a `master`-branch and would like to add a specific user to the branch protection rule. For some reason the user (which is an instance-admin and member of the "Owner" team of the organization the repo belongs to) does not show up in the dropdown list. <img width="1111" height="256" alt="Image" src="https://github.com/user-attachments/assets/0fefe98d-afad-4e2e-8200-35d5f4dd0ef3" /> As far as the reason goes I can only speculate. But I think it might relate to the total number of users in the organization (currently 25) or the time the user joined the instance. When searching for users to add to the branch protection rule it seems that newer users which joined the instance/organization just recently does not show up in the search. Any help or suggestions are welcome... 🙂 ### Gitea Version 1.24.6 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots <img width="1111" height="256" alt="Image" src="https://github.com/user-attachments/assets/5dc7e69b-4539-4753-983d-0cebfda0abb7" /> ### Git Version 2.43.7 ### Operating System Rocky Linux release 8.10 (Green Obsidian) ### How are you running Gitea? Binary distribution started via systemd unit ### Database MySQL/MariaDB
GiteaMirror added the type/bug label 2025-11-02 11:26:54 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14965