1
1
mirror of https://github.com/go-gitea/gitea synced 2024-09-27 06:44:06 +00:00
gitea/templates
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>
2020-08-17 09:32:33 +03:00
..
admin Multiple small admin dashboard fixes (#12153) (#12156) 2020-07-05 21:19:53 +01:00
base When must change password only show Signout (#11600) (#11637) 2020-05-27 08:08:14 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Ensure search action button coalesced to adjacent input (#11385) 2020-05-12 15:08:43 -04:00
mail Style blockquote for default issue mail template (#10024) 2020-01-27 22:35:34 +00:00
org Add missing templates (#11729) (#11748) 2020-06-03 19:23:45 +01:00
pwa Move serviceworker to workbox and fix SSE interference (#11538) (#11547) 2020-05-22 12:46:39 -03:00
repo Match GH with Commit page (#12425) (#12431) 2020-08-05 15:49:12 +08:00
status Make error pages translatable (#11163) 2020-04-27 18:03:15 -05:00
swagger Extend Notifications API and return pinned notifications by default (#12164) (#12232) 2020-07-13 21:52:05 +01:00
user Fix bug preventing transfer to private organization (#12497) (#12501) 2020-08-17 09:32:33 +03:00
home.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
install.tmpl Change default charset for MySQL on install to utf8mb4 (#10989) 2020-04-06 09:33:15 -04:00