Building an ACL based on permission level
I found the solution somewhere from the documentation.  I don't know why I had not seen that before.

Symfony2 provides an easier way of doing what I was looking for:

$builder = new MaskBuilder();
$mask = $builder-&gt;add($participant-&gt;getRight())-&gt;get();