Class: OodCore::Acl::Adapter Abstract
- Inherits:
-
Object
- Object
- OodCore::Acl::Adapter
- Defined in:
- lib/ood_core/acl/adapter.rb
Overview
This class is abstract.
A class that handles the permissions for a resource through an ACL
Direct Known Subclasses
Instance Method Summary collapse
-
#allow? ⇒ Boolean
abstract
Whether this ACL allows access for the principle.
Instance Method Details
#allow? ⇒ Boolean
This method is abstract.
Subclass is expected to implement #allow?
Whether this ACL allows access for the principle
12 13 14 |
# File 'lib/ood_core/acl/adapter.rb', line 12 def allow? raise NotImplementedError, "subclass did not define #allow?" end |