Module: Shamu::Security::RolesService
- Included in:
- EmptyRolesService
- Defined in:
- lib/shamu/security/roles_service.rb
Overview
Used to determine the roles that the current Principal should be given on a Shamu::Services::Service.
Defined Under Namespace
Classes: EmptyRolesService
Instance Method Summary collapse
-
#roles_for(principal) ⇒ Array<Symbol>
The roles granted to the principal.
Instance Method Details
#roles_for(principal) ⇒ Array<Symbol>
15 16 17 |
# File 'lib/shamu/security/roles_service.rb', line 15 def roles_for( principal ) [] end |