forgejo/models/organization
yp05327 26a0cd7143
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`
2023-04-07 11:21:02 -04:00
..
main_test.go
mini_org.go
org.go Allow repo admins too to delete the repo (#23940) 2023-04-07 11:21:02 -04:00
org_repo.go
org_test.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
org_user.go Allow repo admins too to delete the repo (#23940) 2023-04-07 11:21:02 -04:00
org_user_test.go
team.go
team_invite.go
team_invite_test.go
team_list.go
team_repo.go
team_test.go
team_unit.go
team_user.go