Class: Granite::Action::Policies::AlwaysAllowStrategy
- Inherits:
-
Object
- Object
- Granite::Action::Policies::AlwaysAllowStrategy
- Defined in:
- lib/granite/action/policies/always_allow_strategy.rb
Overview
A Granite policies strategy which allows an action to be performed unconditionally. No defined policies are evaluated.
Class Method Summary collapse
Class Method Details
.allowed?(_action) ⇒ Boolean
7 8 9 |
# File 'lib/granite/action/policies/always_allow_strategy.rb', line 7 def self.allowed?(_action) true end |