Sha256: afdb2d8823aec1e403b61533213cacba451ed07406f3d7489b8de48f50377dbd

Contents?: true

Size: 235 Bytes

Versions: 5

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module Hydra
  # Returns AdminSets that the current user has permission to use.
  class SearchService < Blacklight::SearchService
    def current_ability
      context[:current_ability]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hydra-core-13.0.0 app/services/hydra/search_service.rb
hydra-core-12.1.0 app/services/hydra/search_service.rb
hydra-core-12.0.2 app/services/hydra/search_service.rb
hydra-core-12.0.1 app/services/hydra/search_service.rb
hydra-core-12.0.0 app/services/hydra/search_service.rb