Class: LogicalAuthz::AccessControl::IfDenies

Inherits:
SubPolicy show all
Defined in:
lib/logical_authz/access_control.rb

Instance Attribute Summary

Attributes inherited from Policy

#decision, #name

Instance Method Summary collapse

Methods inherited from SubPolicy

#check, #initialize

Methods inherited from Policy

#check, #evaluate, #initialize, #laz_debug, names, register

Constructor Details

This class inherits a constructor from LogicalAuthz::AccessControl::SubPolicy

Instance Method Details

#default_nameObject



250
251
252
# File 'lib/logical_authz/access_control.rb', line 250

def default_name
  "If denied by..."
end

#match_policy(policy) ⇒ Object



254
255
256
# File 'lib/logical_authz/access_control.rb', line 254

def match_policy(policy)
  policy == false
end