]> source.dussan.org Git - gitea.git/commit
Fix so that user can still fork his own repository to owned organizations (#2699)
authorLauris BH <lauris@nix.lv>
Sun, 15 Oct 2017 15:06:07 +0000 (18:06 +0300)
committerGitHub <noreply@github.com>
Sun, 15 Oct 2017 15:06:07 +0000 (18:06 +0300)
commit1ec4dc6c1dec3814d8956bcd1157a51bfe53eb0e
tree742d82bceac48af7f5088be3c70bdb6d000728ea
parent32ca299650277829b93994eca1508f9d84a5b667
Fix so that user can still fork his own repository to owned organizations (#2699)

* Fix so that user can still fork his own repository to his organizations

* Fix to only use owned organizations

* Add integration test for forking own repository to owned organization
integrations/pull_create_test.go
integrations/pull_merge_test.go
integrations/repo_fork_test.go
models/repo.go
modules/context/repo.go
routers/repo/pull.go
templates/repo/header.tmpl
templates/repo/pulls/fork.tmpl