fixing issue with provider parent showing up in the ui regardless of whether the use has access to the provider