gitea/routers
Gusted 6162fb0a19
Check for permission when fetching user controlled issues (#20133) (#20196)
* Check if project has the same repository id with issue when assign project to issue

* Check if issue's repository id match project's repository id

* Add more permission checking

* Remove invalid argument

* Fix errors

* Add generic check

* Remove duplicated check

* Return error + add check for new issues

* Apply suggestions from code review

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: 6543 <6543@obermui.de>
2022-07-01 17:39:10 +02:00
..
api/v1 Check for permission when fetching user controlled issues (#20133) (#20196) 2022-07-01 17:39:10 +02:00
common Fix raw endpoint PDF file headers (#19825) (#19826) 2022-05-28 18:40:03 +03:00
install Call MultipartForm.RemoveAll when request finishes (#19606) (#19607) 2022-05-05 16:13:59 +02:00
private Fix the bug: deploy key with write access can not push (#19010) (#19182) 2022-03-23 13:44:41 +00:00
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Check for permission when fetching user controlled issues (#20133) (#20196) 2022-07-01 17:39:10 +02:00
init.go Handle email address not exist (#19089) (#19121) 2022-03-19 11:35:23 +00:00