Ability Helper modules
Clone this wiki locally
This extension comes with the following Ability helper modules for use with cantango-permits
These modules are typically included into an Ability in order to access the roles of the ability subject, typically a user (or in rare cases an account).
Role module has a
#roles method which returns the role list of the subject.
RoleGroup module has a
#role_groups method which returns the role group list of the subject