1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 09:24:25 +00:00
6543 d4096ab6a2
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>
2020-02-04 16:27:18 +02:00
..
2020-01-13 18:33:46 +01:00
2020-01-13 18:33:46 +01:00
2019-08-23 12:40:29 -04:00
2017-05-04 13:54:56 +08:00
2019-12-27 20:30:58 +00:00
2019-12-15 16:57:34 -05:00
2020-01-13 18:33:46 +01:00
2020-01-13 18:33:46 +01:00
2020-01-24 14:00:29 -05:00
2020-01-24 14:00:29 -05:00
2019-10-17 11:26:49 +02:00
2019-08-23 12:40:29 -04:00
2020-01-13 18:33:46 +01:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00