class OodCore::Acl::Adapter

A class that handles the permissions for a resource through an ACL @abstract

Public Instance Methods

allow?() click to toggle source

Whether this ACL allows access for the principle @abstract Subclass is expected to implement {#allow?} @raise [NotImplementedError] if subclass did not define {#allow?} @return [Boolean] whether principle is allowed

# File lib/ood_core/acl/adapter.rb, line 12
def allow?
  raise NotImplementedError, "subclass did not define #allow?"
end