Class: LogicalAuthz::AccessControl::IfAllows
- Defined in:
- lib/logical_authz/access_control.rb
Instance Attribute Summary
Attributes inherited from Policy
Instance Method Summary collapse
Methods inherited from SubPolicy
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_name ⇒ Object
240 241 242 |
# File 'lib/logical_authz/access_control.rb', line 240 def default_name "If allowed by..." end |
#match_policy(policy) ⇒ Object
244 245 246 |
# File 'lib/logical_authz/access_control.rb', line 244 def match_policy(policy) policy == true end |