Class: LogicalAuthz::AccessControl::Always

Inherits:
Policy
  • Object
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 Policy

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

Constructor Details

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

Instance Method Details

#check(criteria) ⇒ Object



181
182
183
# File 'lib/logical_authz/access_control.rb', line 181

def check(criteria)
  true
end

#default_nameObject



177
178
179
# File 'lib/logical_authz/access_control.rb', line 177

def default_name
  "Always"
end