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.
forgejo/routers
zeripath d1e67d7ade
Fix bug preventing transfer to private organization (#12497)
* 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
4 years ago
..
admin Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 4 years ago
api/v1 Fix bug preventing transfer to private organization (#12497) 4 years ago
dev Display ui time with customize time location (#7792) 5 years ago
events Add EventSource support (#11235) 4 years ago
org Move jquery-minicolors to npm/webpack (#12305) 4 years ago
private Git 2.28 no longer permits diff with ... on unrelated branches (#12364) 4 years ago
repo Fix bug preventing transfer to private organization (#12497) 4 years ago
routes Fix ignored login on compare (#12476) 4 years ago
user Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
utils Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
home.go Ensure public repositories in private organizations are visible and fix admin organizations list (#11465) 4 years ago
init.go Direct SVG rendering (#12157) 4 years ago
install.go models: fix xorm variable clobber (#12231) 4 years ago
metrics.go Use gitea forked macaron (#7933) 5 years ago
swagger_json.go Add gitea-vet (#10948) 4 years ago