forgejo-federation/templates/user
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
2020-08-16 16:27:08 -04:00
..
auth fix: add type=text for user_name (password manager) (#12250) 2020-07-15 16:48:50 +03:00
dashboard Fix milestone links (#12405) 2020-08-02 09:18:09 +01:00
notification Use AJAX for notifications table (#10961) 2020-04-24 00:57:38 -03:00
settings Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
profile.tmpl Fix bug preventing transfer to private organization (#12497) 2020-08-16 16:27:08 -04:00