1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-22 10:30:46 +02:00
gitea/routers/repo
Lanre Adelowo 6c1a31ffaa User shouldn't be able to approve or reject his/her own PR (#4729)
* Make sure author cannot reject/approve their own PR

* Disable buttons in templates too

* Remove unneccessary if check since the switch below catches it

* Fix IsOwner check

* Update template and remove new template variable

* Add alert template and redirect to diff page on review failure

* Redirect to files diff as a little update to #4632
2018-08-20 07:04:01 +02:00
..
activity.go
attachment.go
branch.go
commit.go
download.go
editor.go
http.go
issue_dependency.go
issue_label_test.go
issue_label.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
issue.go
main_test.go
middlewares.go
pull_review.go User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
pull.go
release_test.go
release.go
repo.go
search.go
setting_protected_branch.go
setting.go
settings_test.go
topic.go
view.go
webhook.go
wiki_test.go
wiki.go