-
-
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
Cannot add attachment to issue without admin access #24944
Labels
issue/critical
This issue should be fixed ASAP. If it is a PR, the PR should be merged ASAP
type/bug
Comments
Which endpoint are you using? |
Maybe related #25019 |
The endpoint is: POST |
Could you update the the latest version and try it again since #24767 merged. |
No the error still occurs in Version: 1.20.0+dev-1002-g379ec1303 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
issue/critical
This issue should be fixed ASAP. If it is a PR, the PR should be merged ASAP
type/bug
Description
I have an issue created by User A.
I try to add an attachment via API for user B. User B is in a Team with write permissions for issues (and everything else)
When I do an sudo upload for user B i get the error:
But the user has the permission. When I login as user B and do it via the web interface everything works fine.
It only works via API when I give the team admin access.
Gitea Version
1.20.0+dev-919-gf9cfd6ce5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
MySQL
The text was updated successfully, but these errors were encountered: