go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.94k stars 5.48k forks source link

Missing team permission to delete repos #32436

Open silverwind opened 18 hours ago

silverwind commented 18 hours ago

Feature Description

I would like to grant the ability to delete repos to a team, but even with all write-related permissions granted, the users are unable to see the repo "Danger Zone".

I think a new boolean option "Delete repositories" needs to be added to the "Repository access" section in the screenshot, which shows the team permission configuration.

Screenshots

image
lunny commented 16 hours ago

Administration acces is the answer

silverwind commented 13 hours ago

Administration acces is the answer

Ok, then I think the text "Members can pull and push to team repositories and add collaborators to them." should be updated to mention that it also grants access to "dangerous actions" like repo deletion.

yp05327 commented 7 hours ago

Actually, the description of these existing permissions are also terrible. e.g.