Skip to content
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

Allow non admin users to add Gitea repos #134

Closed
laszlocph opened this issue Aug 27, 2020 · 1 comment
Closed

Allow non admin users to add Gitea repos #134

laszlocph opened this issue Aug 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@laszlocph
Copy link
Member

I was able to enable repos (both user and org repos) as the Drone admin, but not with other users. I consider this a bug as the repo permissions are simply not set in the gitea integration: https://github.com/laszlocph/woodpecker/blob/master/remote/gitea/helper.go#L40 while it is set for github: https://github.com/laszlocph/woodpecker/blob/master/remote/github/convert.go#L97

Workaround is to enable repos with the DRONE_ADMIN user.

@anbraten anbraten changed the title Non admin users to add Gitea repos Allow non admin users to add Gitea repos Sep 18, 2021
@anbraten anbraten added the bug Something isn't working label Sep 18, 2021
@anbraten
Copy link
Member

I think this has been fixed by #226. At least I haven't had that bug anymore while testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants