Cache Change user_can_edit to avoid project group lead lookups
Cache Change user_can_edit to avoid project group lead lookups

We only want to query the project's owner groups once per request,
as doing it multiple times during a single HTTP call is pointless.

Signed-off-by: Shawn O. Pearce <f3ea74d906fa9fe97c1fef6bad9cb871485c7045@google.com>

Distrotech/gerrit,joshuawilson/merrit,qtproject/qtqa-gerrit,pkdevbox/gerrit,gcoders/gerrit,CandyShop/gerrit,anminhsu/gerrit,atdt/gerrit,MerritCR/merrit,MerritCR/merrit,Team-OctOS/host_gerrit,joshuawilson/merrit,sudosurootdev/gerrit,renchaorevee/gerrit,TonyChai24/test,GerritCodeReview/gerrit,jackminicloud/test,ckamm/gerrit,thinkernel/gerrit,ckamm/gerrit,zommarin/gerrit,zommarin/gerrit,m1kah/gerrit-contributions,TonyChai24/test,netroby/gerrit,gerrit-review/gerrit,jeblair/gerrit,WANdisco/gerrit,skurfuerst/gerrit,zommarin/gerrit,cjh1/gerrit,qtproject/qtqa-gerrit,TonyChai24/test,renchaorevee/gerrit,gracefullife/gerrit,supriyantomaftuh/gerrit,netroby/gerrit,thesamet/gerrit,Saulis/gerrit,Team-OctOS/host_gerrit,cjh1/gerrit,gcoders/gerrit,midnightradio/gerrit,ckamm/gerrit,anminhsu/gerrit,evanchueng/gerrit,renchaorevee/gerrit,gerrit-review/gerrit,Saulis/gerrit,GerritCodeReview/gerrit-attic,quyixia/gerrit,supriyantomaftuh/gerrit,bootstraponline-archive/gerrit-mirror,gerrit-review/gerrit,keerath/gerrit_newssh,Overruler/gerrit,keerath/gerrit_newssh,keerath/gerrit_newssh,ashang/aaron-gerrit,joshuawilson/merrit,dwhipstock/gerrit,duboisf/gerrit,GerritCodeReview/gerrit,Distrotech/gerrit,Seinlin/gerrit,Saulis/gerrit,Seinlin/gerrit,pkdevbox/gerrit,austinchic/Gerrit,Seinlin/gerrit,hdost/gerrit,gerrit-review/gerrit,1yvT0s/gerrit,sudosurootdev/gerrit,qtproject/qtqa-gerrit,Shrews/PyGerrit,renchaorevee/gerrit,pkdevbox/gerrit,anminhsu/gerrit,Overruler/gerrit,midnightradio/gerrit,hdost/gerrit,bpollack/gerrit,atdt/gerrit,evanchueng/gerrit,renchaorevee/gerrit,thesamet/gerrit,keerath/gerrit_newssh,ckamm/gerrit,WANdisco/gerrit,cjh1/gerrit,joshuawilson/merrit,pkdevbox/gerrit,MerritCR/merrit,bpollack/gerrit,CandyShop/gerrit,Overruler/gerrit,MerritCR/merrit,rtyley/mini-git-server,basilgor/gerrit,evanchueng/gerrit,gracefullife/gerrit,rtyley/mini-git-server,zommarin/gerrit,ashang/aaron-gerrit,Shrews/PyGerrit,Shrews/PyGerrit,dwhipstock/gerrit,hdost/gerrit,cjh1/gerrit,gracefullife/gerrit,ashang/aaron-gerrit,Overruler/gerrit,pkdevbox/gerrit,1yvT0s/gerrit,GerritCodeReview/gerrit-attic,evanchueng/gerrit,catrope/gerrit,supriyantomaftuh/gerrit,bootstraponline-archive/gerrit-mirror,makholm/gerrit-ceremony,makholm/gerrit-ceremony,hdost/gerrit,ashang/aaron-gerrit,TonyChai24/test,skurfuerst/gerrit,austinchic/Gerrit,Saulis/gerrit,MerritCR/merrit,dwhipstock/gerrit,gerrit-review/gerrit,anminhsu/gerrit,Team-OctOS/host_gerrit,midnightradio/gerrit,quyixia/gerrit,MerritCR/merrit,bootstraponline-archive/gerrit-mirror,gerrit-review/gerrit,midnightradio/gerrit,Seinlin/gerrit,thinkernel/gerrit,Team-OctOS/host_gerrit,evanchueng/gerrit,MerritCR/merrit,netroby/gerrit,gcoders/gerrit,zommarin/gerrit,TonyChai24/test,bpollack/gerrit,dwhipstock/gerrit,quyixia/gerrit,joshuawilson/merrit,Team-OctOS/host_gerrit,thinkernel/gerrit,WANdisco/gerrit,WANdisco/gerrit,GerritCodeReview/gerrit-attic,quyixia/gerrit,bpollack/gerrit,teamblueridge/gerrit,jackminicloud/test,jackminicloud/test,anminhsu/gerrit,WANdisco/gerrit,dwhipstock/gerrit,joshuawilson/merrit,duboisf/gerrit,keerath/gerrit_newssh,dwhipstock/gerrit,jackminicloud/test,1yvT0s/gerrit,qtproject/qtqa-gerrit,thesamet/gerrit,pkdevbox/gerrit,Saulis/gerrit,GerritCodeReview/gerrit,Seinlin/gerrit,anminhsu/gerrit,Seinlin/gerrit,atdt/gerrit,jackminicloud/test,quyixia/gerrit,quyixia/gerrit,midnightradio/gerrit,jackminicloud/test,supriyantomaftuh/gerrit,hdost/gerrit,Seinlin/gerrit,Team-OctOS/host_gerrit,gcoders/gerrit,renchaorevee/gerrit,thinkernel/gerrit,basilgor/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,bpollack/gerrit,makholm/gerrit-ceremony,catrope/gerrit,pkdevbox/gerrit,quyixia/gerrit,bootstraponline-archive/gerrit-mirror,Distrotech/gerrit,jeblair/gerrit,gracefullife/gerrit,TonyChai24/test,ckamm/gerrit,hdost/gerrit,bpollack/gerrit,Shrews/PyGerrit,Team-OctOS/host_gerrit,hdost/gerrit,teamblueridge/gerrit,thesamet/gerrit,austinchic/Gerrit,atdt/gerrit,teamblueridge/gerrit,jackminicloud/test,duboisf/gerrit,bootstraponline-archive/gerrit-mirror,GerritCodeReview/gerrit,gcoders/gerrit,1yvT0s/gerrit,ashang/aaron-gerrit,teamblueridge/gerrit,basilgor/gerrit,GerritCodeReview/gerrit,thinkernel/gerrit,thinkernel/gerrit,basilgor/gerrit,gerrit-review/gerrit,anminhsu/gerrit,gcoders/gerrit,sudosurootdev/gerrit,thinkernel/gerrit,thesamet/gerrit,m1kah/gerrit-contributions,TonyChai24/test,gracefullife/gerrit,MerritCR/merrit,dwhipstock/gerrit,CandyShop/gerrit,bootstraponline-archive/gerrit-mirror,catrope/gerrit,sudosurootdev/gerrit,skurfuerst/gerrit,GerritCodeReview/gerrit,netroby/gerrit,supriyantomaftuh/gerrit,austinchic/Gerrit,CandyShop/gerrit,gcoders/gerrit,Distrotech/gerrit,atdt/gerrit,teamblueridge/gerrit,Distrotech/gerrit,thesamet/gerrit,qtproject/qtqa-gerrit,CandyShop/gerrit,joshuawilson/merrit,netroby/gerrit,qtproject/qtqa-gerrit,Overruler/gerrit,GerritCodeReview/gerrit,jeblair/gerrit,midnightradio/gerrit,supriyantomaftuh/gerrit,supriyantomaftuh/gerrit,jeblair/gerrit,basilgor/gerrit,Saulis/gerrit,netroby/gerrit,catrope/gerrit,m1kah/gerrit-contributions,Distrotech/gerrit,thesamet/gerrit,joshuawilson/merrit,netroby/gerrit,duboisf/gerrit,Overruler/gerrit,renchaorevee/gerrit,sudosurootdev/gerrit,skurfuerst/gerrit,Distrotech/gerrit,makholm/gerrit-ceremony,WANdisco/gerrit,qtproject/qtqa-gerrit,m1kah/gerrit-contributions,1yvT0s/gerrit