Sha256: c9e4e2d0f90045cfabe17bd2aab4ebde34cbbc86613c574c8fd95c1c6fe4c9c7
Contents?: true
Size: 520 Bytes
Versions: 59
Compression:
Stored size: 520 Bytes
Contents
require "ood_support" module OodCore module Acl # A class that handles the permissions for a resource through an ACL # @abstract class Adapter # 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 def allow? raise NotImplementedError, "subclass did not define #allow?" end end end end
Version data entries
59 entries across 59 versions & 1 rubygems