mirror of
https://github.com/go-gitea/gitea
synced 2024-11-13 21:54:24 +00:00
ec48618d40
* 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> |
||
---|---|---|
.. | ||
admin | ||
api/v1 | ||
dev | ||
events | ||
org | ||
private | ||
repo | ||
routes | ||
user | ||
utils | ||
home.go | ||
init.go | ||
install.go | ||
metrics.go | ||
swagger_json.go |