summaryrefslogtreecommitdiffstats
path: root/models/unit_tests.go
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2018-08-20 06:04:01 +0100
committerJonas Franz <info@jonasfranz.software>2018-08-20 07:04:01 +0200
commit6c1a31ffaaddf8ced7c30bf5b1e6e82d66f8c6ee (patch)
treed9a744f9495547f626d591334bc78bc86b8dfc50 /models/unit_tests.go
parentfa93857117307a54e6e3feb4a80de6d7d19ccbed (diff)
downloadgitea-6c1a31ffaaddf8ced7c30bf5b1e6e82d66f8c6ee.tar.gz
gitea-6c1a31ffaaddf8ced7c30bf5b1e6e82d66f8c6ee.zip
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
Diffstat (limited to 'models/unit_tests.go')
0 files changed, 0 insertions, 0 deletions