Conditional Collission

Hey Community,
We are trying to add a custom collision to a building entrance in our game. We want only those players to enter that building who have gained the access. We would like to communicate with the database to check whether the player has that role to enter into the building or not and then accordingly want collision to run. People who have the access can go through the entrance while people who don’t dave the access would be collided with the entrance.

Thanks in advance