only add item to references when we have permission