[SalesForce] Lightning component not visible to community members

So I have a lightning component

<aura:component implements="forceCommunity:availableForAllPageTypes" access="global" controller="GSTAR_LGHT_CTRL">
<aura:attribute name="accs" type="Account[]"/>

<aura:handler name="init" action="{!c.doInit}" value="{!this}"/>

<lightning:layout>
    <lightning:layoutItem padding="around-small" size="6">
        <lightning:card title="My Brand new Lightning Component">
....

And it shows up in my Community Builder. And I am able to publish my community builder and set it as the landing page for my community.
But when I log in as a community user my Lightning Component is just not there. All the other components from the Builder show up.
So what am I missing?

Best Answer

Check the objects referred in component by the Community site User have access to that Object in Profile Settings. If not, the component won't be displayed.

Related Topic