Sha256: 30fa08a79bb869d524e78f84fbe3953deb0883c1b1db553474268b20ad45e786
Contents?: true
Size: 585 Bytes
Versions: 19
Compression:
Stored size: 585 Bytes
Contents
module Hyrax # Added to allow for the Hyrax::My::WorksController to show only things I have deposited # If the work went through mediated deposit, I may no longer have edit access to it. class My::WorksSearchBuilder < My::SearchBuilder include Hyrax::FilterByType # We remove the access controls filter, because some of the works a user has # deposited may have gone through a workflow which has removed their ability # to edit the work. self.default_processor_chain -= [:add_access_controls_to_solr_params] def only_works? true end end end
Version data entries
19 entries across 19 versions & 1 rubygems