1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-22 12:21:03 +02:00
gitea/routers
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
..
admin
api/v1
dev
org Display error when adding a user to a team twice (#4746) 2018-08-19 21:49:19 +03:00
private
repo User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
routes Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) 2018-08-14 23:16:37 +03:00
user Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) 2018-08-14 23:16:37 +03:00
utils
home.go
init.go
install.go
swagger_json.go