Sha256: 7c25f7d9b0dfb5ab6ef9b50064fc116fa6893dd973d3be6db7d2197c48f4478e

Contents?: true

Size: 891 Bytes

Versions: 5

Compression:

Stored size: 891 Bytes

Contents

require 'active_support'
require 'active-fedora'
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

5 entries across 5 versions & 1 rubygems

Version Path
hydra-access-controls-6.0.0 lib/hydra-access-controls.rb
hydra-access-controls-6.0.0.rc4 lib/hydra-access-controls.rb
hydra-access-controls-6.0.0.rc3 lib/hydra-access-controls.rb
hydra-access-controls-6.0.0.rc2 lib/hydra-access-controls.rb
hydra-access-controls-6.0.0.rc1 lib/hydra-access-controls.rb