Fix TeamManager.get_for_user()'s hiding of non-visible teams.
Fix TeamManager.get_for_user()'s hiding of non-visible teams.

Move the filtering of non-visible teams to where the results
dict is constructed, otherwise non-visibile teams may be returned
if either access_groups or SENTRY_PUBLIC are True.

camilonova/sentry,drcapulet/sentry,boneyao/sentry,fotinakis/sentry,llonchj/sentry,looker/sentry,gencer/sentry,jean/sentry,fuziontech/sentry,TedaLIEz/sentry,gg7/sentry,zenefits/sentry,mitsuhiko/sentry,fuziontech/sentry,Kryz/sentry,kevinastone/sentry,drcapulet/sentry,JackDanger/sentry,fuziontech/sentry,felixbuenemann/sentry,gencer/sentry,alexm92/sentry,mvaled/sentry,ngonzalvez/sentry,Natim/sentry,boneyao/sentry,mvaled/sentry,korealerts1/sentry,JamesMura/sentry,BayanGroup/sentry,zenefits/sentry,JamesMura/sentry,Kryz/sentry,daevaorn/sentry,BuildingLink/sentry,ewdurbin/sentry,songyi199111/sentry,alexm92/sentry,looker/sentry,jokey2k/sentry,BuildingLink/sentry,zenefits/sentry,BuildingLink/sentry,daevaorn/sentry,imankulov/sentry,imankulov/sentry,daevaorn/sentry,jean/sentry,kevinastone/sentry,fotinakis/sentry,1tush/sentry,looker/sentry,gencer/sentry,nicholasserra/sentry,korealerts1/sentry,kevinastone/sentry,wujuguang/sentry,Natim/sentry,BuildingLink/sentry,1tush/sentry,BayanGroup/sentry,1tush/sentry,fotinakis/sentry,looker/sentry,korealerts1/sentry,drcapulet/sentry,daevaorn/sentry,kevinlondon/sentry,mvaled/sentry,argonemyth/sentry,ifduyue/sentry,nicholasserra/sentry,ewdurbin/sentry,felixbuenemann/sentry,wong2/sentry,jean/sentry,JamesMura/sentry,gg7/sentry,hongliang5623/sentry,vperron/sentry,Natim/sentry,beeftornado/sentry,hongliang5623/sentry,JTCunning/sentry,jokey2k/sentry,ewdurbin/sentry,songyi199111/sentry,gg7/sentry,ifduyue/sentry,mitsuhiko/sentry,wong2/sentry,BuildingLink/sentry,imankulov/sentry,wong2/sentry,jean/sentry,alexm92/sentry,mvaled/sentry,fotinakis/sentry,JackDanger/sentry,JTCunning/sentry,ifduyue/sentry,boneyao/sentry,kevinlondon/sentry,mvaled/sentry,camilonova/sentry,gencer/sentry,jean/sentry,mvaled/sentry,argonemyth/sentry,ifduyue/sentry,kevinlondon/sentry,BayanGroup/sentry,llonchj/sentry,beeftornado/sentry,zenefits/sentry,hongliang5623/sentry,argonemyth/sentry,camilonova/sentry,vperron/sentry,pauloschilling/sentry,JamesMura/sentry,wujuguang/sentry,looker/sentry,zenefits/sentry,jokey2k/sentry,pauloschilling/sentry,JTCunning/sentry,ifduyue/sentry,JackDanger/sentry,wujuguang/sentry,TedaLIEz/sentry,Kryz/sentry,TedaLIEz/sentry,ngonzalvez/sentry,ngonzalvez/sentry,felixbuenemann/sentry,beeftornado/sentry,vperron/sentry,gencer/sentry,pauloschilling/sentry,nicholasserra/sentry,songyi199111/sentry,llonchj/sentry,JamesMura/sentry