Hey, I also wanted to implement the same. for eg- we have two custom badges and two private group i.e., badge A, badge B, group A and group B depending on the badge if user has assigned badge A then he should be able to join only group A not group B and vice versa too.
How can I implement this for my system too.
Kindly brief me the same.