How to "disallow" only a particular component inside container component



Hi All,

I have created a container component using parsys and would like to achieve the below:

1. Avoid adding a container into a container. i.e lets say A is a container component which should not allow A to be added inside A itself.

2. How to avoid only a particular component into another container component. say how to disallow component B inside container-A?

I have looked into "allow children" property which doesnt seem to be working. And am wondering how to add a NOT to the allowed children so it becomes like "disallow"!

Please help me if someone has already handled a similar scenario.

Thanks much,