Actor component private access specifier not working as intended ?

Hello, I have an actor component with a private function in it, the logic would be that this function cannot be called anywhere outside the actor component. However If I add this actor component to a character, by dragging from the actor component I can call private functions. Take a look at the example below.

Is this a bug ? If it isn’t, how to I get the result I want ?