martinrehfeld/role_model — pull request #24 by igor04 (2012-12-07 16:24:36+00:00)
Title: Methods for work with mask combinations (available_masks_for, masks_only_for)

User with roles :admin, :manager, :author

see all available masks with mentioned role(s)
`User.available_masks_for(:admin, :author) # => [1,4,3,5,6,7]`

see masks combinations only with mentioned role(s)
`User.masks_only_for(:admin, :author) # => [1,4,5]`