Fix a bug that allowed Guests to still see Settings links they couldn't access.
Fix a bug that allowed Guests to still see Settings links they couldn't access.

icedwater/gitlabhq,iiet/iiet-git,dreampet/gitlab,jirutka/gitlabhq,LUMC/gitlabhq,iiet/iiet-git,openwide-java/gitlabhq,Soullivaneuh/gitlabhq,martijnvermaat/gitlabhq,martijnvermaat/gitlabhq,t-zuehlsdorff/gitlabhq,openwide-java/gitlabhq,jirutka/gitlabhq,daiyu/gitlab-zh,mr-dxdy/gitlabhq,Soullivaneuh/gitlabhq,dplarson/gitlabhq,openwide-java/gitlabhq,dreampet/gitlab,icedwater/gitlabhq,darkrasid/gitlabhq,SVArago/gitlabhq,LUMC/gitlabhq,shinexiao/gitlabhq,iiet/iiet-git,htve/GitlabForChinese,axilleas/gitlabhq,axilleas/gitlabhq,screenpages/gitlabhq,LUMC/gitlabhq,mmkassem/gitlabhq,mr-dxdy/gitlabhq,icedwater/gitlabhq,t-zuehlsdorff/gitlabhq,allysonbarros/gitlabhq,htve/GitlabForChinese,darkrasid/gitlabhq,jirutka/gitlabhq,shinexiao/gitlabhq,mr-dxdy/gitlabhq,jirutka/gitlabhq,screenpages/gitlabhq,stoplightio/gitlabhq,daiyu/gitlab-zh,Soullivaneuh/gitlabhq,axilleas/gitlabhq,htve/GitlabForChinese,iiet/iiet-git,mmkassem/gitlabhq,shinexiao/gitlabhq,daiyu/gitlab-zh,Soullivaneuh/gitlabhq,screenpages/gitlabhq,dplarson/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,allysonbarros/gitlabhq,dreampet/gitlab,screenpages/gitlabhq,shinexiao/gitlabhq,allysonbarros/gitlabhq,dplarson/gitlabhq,darkrasid/gitlabhq,darkrasid/gitlabhq,icedwater/gitlabhq,axilleas/gitlabhq,allysonbarros/gitlabhq,openwide-java/gitlabhq,dplarson/gitlabhq,SVArago/gitlabhq,SVArago/gitlabhq,dreampet/gitlab,SVArago/gitlabhq,stoplightio/gitlabhq,htve/GitlabForChinese,LUMC/gitlabhq,mmkassem/gitlabhq,martijnvermaat/gitlabhq,martijnvermaat/gitlabhq,t-zuehlsdorff/gitlabhq,mr-dxdy/gitlabhq,t-zuehlsdorff/gitlabhq,daiyu/gitlab-zh,stoplightio/gitlabhq