Roles as bit masks
Merge pull request #110 from shashi/role-bits

Roles as bit masks