Added permission check before rendering the publish link
Added permission check before rendering the publish link

Rearranged the methods a bit in preparation for some performance enhancements


git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@4789 f5dbab47-78f9-eb45-b975-e544023573eb

EsupPortail/esup-uportal,apetro/uPortal,jhelmer-unicon/uPortal,jl1955/uPortal5,jhelmer-unicon/uPortal,apetro/uPortal,kole9273/uPortal,jameswennmacher/uPortal,MichaelVose2/uPortal,MichaelVose2/uPortal,jameswennmacher/uPortal,EsupPortail/esup-uportal,phillips1021/uPortal,andrewstuart/uPortal,Jasig/uPortal,Mines-Albi/esup-uportal,EsupPortail/esup-uportal,ASU-Capstone/uPortal,GIP-RECIA/esup-uportal,ChristianMurphy/uPortal,jameswennmacher/uPortal,Jasig/uPortal-start,EdiaEducationTechnology/uPortal,Jasig/SSP-Platform,jl1955/uPortal5,andrewstuart/uPortal,phillips1021/uPortal,Mines-Albi/esup-uportal,drewwills/uPortal,chasegawa/uPortal,ASU-Capstone/uPortal-Forked,jhelmer-unicon/uPortal,doodelicious/uPortal,Jasig/uPortal-start,jonathanmtran/uPortal,kole9273/uPortal,jameswennmacher/uPortal,stalele/uPortal,EdiaEducationTechnology/uPortal,stalele/uPortal,apetro/uPortal,pspaude/uPortal,joansmith/uPortal,jonathanmtran/uPortal,MichaelVose2/uPortal,EsupPortail/esup-uportal,vbonamy/esup-uportal,jl1955/uPortal5,Jasig/SSP-Platform,phillips1021/uPortal,EdiaEducationTechnology/uPortal,Mines-Albi/esup-uportal,doodelicious/uPortal,groybal/uPortal,jl1955/uPortal5,stalele/uPortal,GIP-RECIA/esup-uportal,pspaude/uPortal,GIP-RECIA/esup-uportal,Jasig/SSP-Platform,joansmith/uPortal,GIP-RECIA/esco-portail,joansmith/uPortal,groybal/uPortal,Jasig/SSP-Platform,GIP-RECIA/esup-uportal,GIP-RECIA/esco-portail,ASU-Capstone/uPortal-Forked,ASU-Capstone/uPortal-Forked,ASU-Capstone/uPortal,pspaude/uPortal,Mines-Albi/esup-uportal,groybal/uPortal,mgillian/uPortal,ASU-Capstone/uPortal,MichaelVose2/uPortal,EdiaEducationTechnology/uPortal,vbonamy/esup-uportal,vbonamy/esup-uportal,doodelicious/uPortal,phillips1021/uPortal,drewwills/uPortal,timlevett/uPortal,andrewstuart/uPortal,andrewstuart/uPortal,mgillian/uPortal,kole9273/uPortal,apetro/uPortal,chasegawa/uPortal,jl1955/uPortal5,chasegawa/uPortal,doodelicious/uPortal,GIP-RECIA/esco-portail,vbonamy/esup-uportal,jhelmer-unicon/uPortal,vertein/uPortal,chasegawa/uPortal,groybal/uPortal,drewwills/uPortal,stalele/uPortal,joansmith/uPortal,Jasig/uPortal,mgillian/uPortal,jonathanmtran/uPortal,MichaelVose2/uPortal,chasegawa/uPortal,apetro/uPortal,ChristianMurphy/uPortal,bjagg/uPortal,EsupPortail/esup-uportal,bjagg/uPortal,jameswennmacher/uPortal,ASU-Capstone/uPortal-Forked,doodelicious/uPortal,vertein/uPortal,kole9273/uPortal,cousquer/uPortal,ASU-Capstone/uPortal,stalele/uPortal,groybal/uPortal,timlevett/uPortal,ASU-Capstone/uPortal,Jasig/SSP-Platform,cousquer/uPortal,ASU-Capstone/uPortal-Forked,phillips1021/uPortal,joansmith/uPortal,drewwills/uPortal,vertein/uPortal,bjagg/uPortal,jhelmer-unicon/uPortal,vbonamy/esup-uportal,Mines-Albi/esup-uportal,GIP-RECIA/esup-uportal,kole9273/uPortal,andrewstuart/uPortal,Jasig/uPortal,pspaude/uPortal,timlevett/uPortal,cousquer/uPortal,timlevett/uPortal,ChristianMurphy/uPortal,vertein/uPortal