diff options
author | pricly-yellow <79628427+pricly-yellow@users.noreply.github.com> | 2021-10-07 07:03:37 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 02:03:37 +0200 |
commit | 4afdb1eb78ce77fad8e1d2952c69b3315a836548 (patch) | |
tree | ce3c95b6bdf61da50fc0773e8ca3a5f3be73b8a0 /modules/setting/setting.go | |
parent | 67bc04fe21e279805f2f4163791e28272e8133b1 (diff) | |
download | gitea-4afdb1eb78ce77fad8e1d2952c69b3315a836548.tar.gz gitea-4afdb1eb78ce77fad8e1d2952c69b3315a836548.zip |
API pull's head/base have correct permission (#17214)
close #17181
* for all pull requests API return permissions of caller
* for all webhook return empty permissions
Signed-off-by: Danila Kryukov <pricly_yellow@dismail.de>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'modules/setting/setting.go')
0 files changed, 0 insertions, 0 deletions