mirror of https://github.com/go-gitea/gitea
Ensure DeleteUser is not allowed to Delete Orgs and visa versa (#10134)
* add check to DeleteUser * add check to DeleteOrganization * add Test * remove redundancy (deleteOrg is only used in DeleteOrganization) * Update models/org.go Co-authored-by: zeripath <art27@cantab.net>pull/10145/head
parent
b3c72a7c4a
commit
d4096ab6a2
Loading…
Reference in new issue