-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Error (HTTP 404) When Assigning Teams to Repos #20658
Comments
The cause appears to a change introduced in #19318. More specifically, authorization checks for In this line |
What did you mean |
Sorry, I should have specified: With |
Looks like it's a regression from #19318 |
The problem is should the admin permission collaborator of organization repositories can visit organization's users list. If this collaborator is not a member of this organization. I think it's difficult to say it could. But he can visit public users list. |
I have found the same issue with the version 1.21.10 of gitea. I have checked this checkbox at the organisation settings. user1 is not a member of the team owner. user1 cannot use autocomplete to assign a team user1 is able to assign any teams to the repository, which exists inside the organisation. user1 needs only to write the whole name of the team. Is that a bug or a feature? |
Description
Since Gitea 1.17.0, normal users cannot assign organization teams to organization repositories. This task can currently only be done by administrators.
Instead of search results, the search box shows the error message "There was an issue querying the server" (see attached screenshot). The web developer console shows that the query to
/org/<organization>/teams/-/search?q=test
returns HTTP 404.I would expect to at least see all groups that I'm assigned to.
Gitea Version
1.17.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Self-hosted.
Database
No response
The text was updated successfully, but these errors were encountered: