Module: ActionSentinelGroup::Model
- Defined in:
- lib/action_sentinel_group/model.rb
Overview
Module to be included in ActionSentinel
Instance Method Summary collapse
-
#has_group_permissions ⇒ Object
Includes the ActionSentinelGroup::Permissions module in the calling model class to allow checking permissions for controller actions.
Instance Method Details
#has_group_permissions ⇒ Object
Includes the ActionSentinelGroup::Permissions module in the calling model class to allow checking permissions for controller actions.
@example:
class User < ApplicationRecord
end
21 22 23 |
# File 'lib/action_sentinel_group/model.rb', line 21 def include ActionSentinelGroup::Permissions end |