samvera-deprecated / hydra

Project Hydra Stack Dependencies
Other
83 stars 30 forks source link

Update Dive Into Hydra - make blacklight return search results #144

Open nomoregrapes opened 6 years ago

nomoregrapes commented 6 years ago
  # These before_filters apply the hydra access controls
  before_filter :enforce_show_permissions, :only=>:show

is now

  # These before_filters apply the hydra access controls
    before_action :enforce_show_permissions, only: :show

it should be commented out, and the following line added afterwards... Hydra::SearchBuilder.default_processor_chain -= [:add_access_controls_to_solr_params]