Module: Blacklight::AccessControls

Extended by:
ActiveSupport::Autoload
Defined in:
lib/blacklight/access_controls.rb,
lib/blacklight/access_controls/user.rb,
lib/blacklight/access_controls/config.rb,
lib/blacklight/access_controls/ability.rb,
lib/blacklight/access_controls/catalog.rb,
lib/blacklight/access_controls/enforcement.rb,
lib/blacklight/access_controls/search_builder.rb,
lib/blacklight/access_controls/permissions_query.rb,
lib/blacklight-access_controls.rb

Defined Under Namespace

Modules: Ability, Catalog, Enforcement, PermissionsQuery, User Classes: AccessDenied, Config, PermissionsCache, SearchBuilder

Class Method Summary collapse

Class Method Details

.configure {|@config| ... } ⇒ Object Also known as: config

Yields:



12
13
14
15
16
# File 'lib/blacklight-access_controls.rb', line 12

def configure
  @config ||= Config.new
  yield @config if block_given?
  @config
end