#6682 Only dump local roles for items which inherit roles