Class: Permisi::Backend::ActiveRecord::Role
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Permisi::Backend::ActiveRecord::Role
- Defined in:
- lib/permisi/backend/active_record/role.rb
Instance Method Summary collapse
Instance Method Details
#allows?(action_path) ⇒ Boolean
20 21 22 |
# File 'lib/permisi/backend/active_record/role.rb', line 20 def allows?(action_path) Permisi::PermissionUtil.allows?(, action_path) end |