diff options
author | yp05327 <576951401@qq.com> | 2023-04-08 00:21:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 11:21:02 -0400 |
commit | 26a0cd7143cc933cee37ac87696eeda46b1ea437 (patch) | |
tree | d56359084e649f7e8f334101800ad83174d513e7 /modules/options | |
parent | 36c0840cf1696912b1872cfa4ebc4b241dabd693 (diff) | |
download | gitea-26a0cd7143cc933cee37ac87696eeda46b1ea437.tar.gz gitea-26a0cd7143cc933cee37ac87696eeda46b1ea437.zip |
Allow repo admins too to delete the repo (#23940)
Fixes https://github.com/go-gitea/gitea/issues/23934
We need to check `AccessModeAdmin` in `CanUserDelete` instead of
`AccessModeOwner`
Diffstat (limited to 'modules/options')
0 files changed, 0 insertions, 0 deletions