Extract and memoize `user_access`
Extract and memoize `user_access`

Because it is sometimes never used.

axilleas/gitlabhq,dplarson/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,dplarson/gitlabhq,t-zuehlsdorff/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,axilleas/gitlabhq,t-zuehlsdorff/gitlabhq,dreampet/gitlab,dplarson/gitlabhq,dplarson/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,t-zuehlsdorff/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,t-zuehlsdorff/gitlabhq