gitea/routers/api/v1
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
..
admin Respect DefaultUserIsRestricted system default when creating new user (#19310 ) (#19560) 2022-04-30 15:00:14 +02:00
misc Call MultipartForm.RemoveAll when request finishes (#19606) (#19607) 2022-05-05 16:13:59 +02:00
notify Fix sending empty notifications (#19589) (#19590) 2022-05-02 21:28:12 -05:00
org Add `GetUserTeams` (#18499) (#18531) 2022-02-02 08:40:04 +00:00
repo Check for permission when fetching user controlled issues (#20133) (#20196) 2022-07-01 17:39:10 +02:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
user Fix DELETE request for non-existent public key (#19443) (#19444) 2022-04-20 23:24:56 +01:00
utils Granular webhook events in editHook (#19251) (#19257) 2022-03-29 18:26:51 +02:00
api.go Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00