mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 10:54:44 +01:00
d1e67d7ade
* Fix bug preventing transfer to private organization The code assessing whether a private organization was visible to a user before allowing transfer was incorrect due to testing membership the wrong way round This PR fixes this issue and renames the function performing the test to be clearer. Further looking at the API for transfer repository - no testing was performed to ensure that the acting user could actually see the new owning organization. Signed-off-by: Andrew Thornton <art27@cantab.net> * change IsUserPartOfOrg everywhere |
||
---|---|---|
.. | ||
activity.go | ||
attachment.go | ||
blame.go | ||
branch.go | ||
commit.go | ||
compare.go | ||
download.go | ||
editor_test.go | ||
editor.go | ||
http.go | ||
issue_dependency.go | ||
issue_label_test.go | ||
issue_label.go | ||
issue_lock.go | ||
issue_stopwatch.go | ||
issue_timetrack.go | ||
issue_watch.go | ||
issue.go | ||
lfs.go | ||
main_test.go | ||
middlewares.go | ||
milestone.go | ||
pull_review.go | ||
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 |