Class: Zuul::ActionController::Evaluators::ForPermission
- Inherits:
-
ForTarget
- Object
- ForTarget
- Zuul::ActionController::Evaluators::ForPermission
show all
- Defined in:
- lib/zuul/action_controller/evaluators.rb
Instance Method Summary
collapse
Methods inherited from ForTarget
#else, #else_for, #for_target
Instance Method Details
#match? ⇒ Boolean
54
55
56
|
# File 'lib/zuul/action_controller/evaluators.rb', line 54
def match?
!@dsl.subject.nil? && @dsl.subject.has_permission?(@target, @context, @force_context)
end
|