[gantree] automatically handle app roles

https://bleacherreport.lighthouseapp.com/projects/6296-br/tickets/17794-gantree-automatically-handle-app-roles