Sha256: d3862d71c5266b654def5543b3420734200485581ed0163c60d0cbac6af39096

Contents?: true

Size: 912 Bytes

Versions: 11

Compression:

Stored size: 912 Bytes

Contents

require 'active_support'
require 'active-fedora'
require 'blacklight'
require 'cancan'
require 'rails'

module Hydra
  extend ActiveSupport::Autoload
  autoload :User
  autoload :AccessControlsEnforcement
  autoload :PolicyAwareAccessControlsEnforcement
  autoload :AccessControlsEvaluation
  autoload :Ability
  autoload :Datastream
  autoload :PolicyAwareAbility
  autoload :AdminPolicy
  autoload :RoleMapperBehavior
  autoload :PermissionsQuery
  autoload :PermissionsCache
  autoload :PermissionsSolrDocument
  class Engine < Rails::Engine
  end

  module ModelMixins
    extend ActiveSupport::Autoload
    autoload :RightsMetadata
  end

  # 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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hydra-access-controls-6.3.4 lib/hydra-access-controls.rb
hydra-access-controls-6.3.3 lib/hydra-access-controls.rb
hydra-access-controls-6.3.2 lib/hydra-access-controls.rb
hydra-access-controls-6.3.1 lib/hydra-access-controls.rb
hydra-access-controls-6.3.0 lib/hydra-access-controls.rb
hydra-access-controls-6.3.0.rc1 lib/hydra-access-controls.rb
hydra-access-controls-6.2.2 lib/hydra-access-controls.rb
hydra-access-controls-6.2.1 lib/hydra-access-controls.rb
hydra-access-controls-6.2.0 lib/hydra-access-controls.rb
hydra-access-controls-6.1.1 lib/hydra-access-controls.rb
hydra-access-controls-6.1.0 lib/hydra-access-controls.rb