Skip to content

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

@m-erhardt

Description

@m-erhardt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions