1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 01:54:26 +00:00
gitea/routers/api/v1
pricly-yellow 7b1153e943
API pull's head/base have correct permission(#17214) (#17245)
* for all pull requests API return permissions of caller
* for all webhook return empty permissions

Signed-off-by: Danila Kryukov <pricly_yellow@dismail.de>

* Fix incorrect error handler

Co-authored-by: delvh <dev.lh@web.de>

* Fix wrong assumption in tests

* Change paramenter name to doer to indicate source

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: 6543 <6543@obermui.de>
2021-10-07 12:39:23 +03:00
..
admin List limited and private orgs if authenticated on API (#16866) (#16879) 2021-08-31 12:49:02 +02:00
misc Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
notify [API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 2021-06-17 16:02:34 +02:00
org List limited and private orgs if authenticated on API (#16866) (#16879) 2021-08-31 12:49:02 +02:00
repo API pull's head/base have correct permission(#17214) (#17245) 2021-10-07 12:39:23 +03:00
settings Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
swagger Swagger AccessToken fixes (#16574) (#16597) 2021-08-02 20:24:47 +02:00
user List limited and private orgs if authenticated on API (#16866) (#16879) 2021-08-31 12:49:02 +02:00
utils Let branch/tag name be a valid ref to get CI status (#16400) 2021-07-13 08:14:14 +01:00
api.go Set AllowedHeaders on API CORS handler (#16524) (#16618) 2021-08-04 21:57:59 +02:00