# Added to allow for the My controller to show only things I have edit access to class Hyrax::MyCollectionsSearchBuilder < Hyrax::SearchBuilder include Hyrax::MySearchBuilderBehavior include Hyrax::FilterByType self.default_processor_chain += [:show_only_resources_deposited_by_current_user] def only_collections? true end end