Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blacklight-access_controls.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = File.read(File.expand_path('../VERSION', __FILE__)).strip
module Blacklight
module AccessControls
def self.bl_version
ENV['BLACKLIGHT_VERSION'] ? [ENV['BLACKLIGHT_VERSION']] : ['> 6.0', '< 8']
ENV['BLACKLIGHT_VERSION'] ? [ENV['BLACKLIGHT_VERSION']] : ['> 6.0', '< 9']
end
end
end
Expand Down
5 changes: 3 additions & 2 deletions lib/blacklight/access_controls/enforcement.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true
require 'deprecation'

module Blacklight
module AccessControls
Expand All @@ -15,11 +16,11 @@ module Enforcement
extend ActiveSupport::Concern

included do
extend Deprecation
extend ::Deprecation
attr_writer :current_ability, :discovery_permissions
deprecation_deprecate :current_ability=

Deprecation.warn(self, 'Blacklight::AccessControls::Enforcement is deprecated and will be removed in 1.0')
::Deprecation.warn(self, 'Blacklight::AccessControls::Enforcement is deprecated and will be removed in 1.0')
class_attribute :solr_access_filters_logic
alias_method :add_access_controls_to_solr_params, :apply_gated_discovery

Expand Down