Class: CurationConcerns::WorkSearchBuilder
- Inherits:
-
SearchBuilder
- Object
- SearchBuilder
- CurationConcerns::WorkSearchBuilder
- Includes:
- FilterSuppressedWithRoles, SingleResult
- Defined in:
- app/search_builders/curation_concerns/work_search_builder.rb
Overview
Finds a single work result. It returns no result if you don’t have access to the requested work. If the work is suppressed (due to being in a workflow), then it checks to see if the current_user has any workflow role on the given work.