Closed

Description
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