You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
techknowlogick ec48618d40
Fix bug preventing transfer to private organization (#12497) (#12501)
* 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

Co-authored-by: zeripath <art27@cantab.net>
5 years ago
..
admin Multiple small admin dashboard fixes (#12153) (#12156) 5 years ago
api/v1 Fix bug preventing transfer to private organization (#12497) (#12501) 5 years ago
dev Display ui time with customize time location (#7792) 6 years ago
events Add EventSource support (#11235) 5 years ago
org Add Organization Wide Labels (#10814) 5 years ago
private Git 2.28 no longer permits diff with ... on unrelated branches (#12370) 5 years ago
repo Fix bug preventing transfer to private organization (#12497) (#12501) 5 years ago
routes Fix ignored login on compare (#12476) (#12478) 5 years ago
user When must change password only show Signout (#11600) (#11637) 5 years ago
utils Handle push rejection message in Merge & Web Editor (#10373) 5 years ago
home.go Ensure public repositories in private organizations are visible and fix admin organizations list (#11465) (#11474) 5 years ago
init.go Remove spurious logging (#12139) (#12148) 5 years ago
install.go Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 5 years ago
metrics.go Use gitea forked macaron (#7933) 6 years ago
swagger_json.go Add gitea-vet (#10948) 5 years ago