How to block one pawn but ignore another in multiplayer?

Hello!

I’m working in unreal engine for about 2 months now, and i’m accually struggling with a big problem.
My game is about making clans and building castles and is made in blueprints.
The problem is, how to make variable define if player can walk through an actor?

I want players with the same text variable to be able to do it.

SOLVED

I made the actor not collidable but it spawns small collisions in players that come in without the correct variable.