We have a community built using the Napili templates that contain a few custom made lightning components. The issue is all of the custom components display to guest community users. Depending on the data used in the component and the permissions attached to them, some of the components return empty values making it look like they don't work while others will function just fine. To add to the issue, the standard components either are hidden on the page or redirect to the login page depending on the page and component used, making the custom components behavior seem even more out of place.
I've looked at the options for access in aura:component
but the only options appear to be 'public' and 'global', neither seeming to do what I want.
Instead of relying on the data to be the limiting factor for a components use to a guest community user, is there a way that I can just hide the entire component for this type of user?