[#57063802 #54372218] Added function to get group tree. Set cache for footer.