Channel group access to the channel

hello, I need a channel group that will do that if the player has it in the room and it needs a password or the maximum number of people, it will ignore them and connect the player to the room even though he would not get there normally, but to make it work only on the channel where it has these rights.