lib/hydra-access-controls.rb in hydra-access-controls-7.0.0.pre2 vs lib/hydra-access-controls.rb in hydra-access-controls-7.0.0.pre3
- old
+ new
@@ -7,11 +7,10 @@
extend ActiveSupport::Autoload
autoload :AccessControls
autoload :User
autoload :AccessControlsEnforcement
autoload :PolicyAwareAccessControlsEnforcement
- autoload :AccessControlsEvaluation
autoload :Ability
autoload :Config
autoload :Datastream
autoload :PolicyAwareAbility
autoload :AdminPolicy
@@ -39,5 +38,7 @@
# This error is raised when a user isn't allowed to access a given controller action.
# This usually happens within a call to AccessControlsEnforcement#enforce_access_controls but can be
# raised manually.
class AccessDenied < ::CanCan::AccessDenied; end
end
+
+require 'active_fedora/accessible_by'