1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/templates
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
..
admin Add placeholder text for send testing email button in admin/config (#12452) 2020-08-10 22:38:30 -04:00
base Add SVG favicon (#12437) 2020-08-06 08:04:51 +01:00
custom
explore Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
mail
org Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
pwa
repo Do not show arrows on comment diffs on pull comment pages (#12434) 2020-08-08 09:22:34 +08:00
status
swagger Add API to update pr headBranch (#12419) 2020-08-04 21:55:22 +01:00
user Fix bug preventing transfer to private organization (#12497) 2020-08-16 16:27:08 -04:00
home.tmpl
install.tmpl