class PermissionPolicy::Strategies::UnknownStrategy

Fallback strategy if no other matches. It allways matches and always denies access no matter what.

Public Instance Methods

allowed?() click to toggle source
# File lib/permission_policy/strategies/unknown_strategy.rb, line 10
def allowed?
  false
end
match?() click to toggle source
# File lib/permission_policy/strategies/unknown_strategy.rb, line 6
def match?
  true
end