re-index when roles change #1079