app/search_builders/hyrax/dashboard/collections_search_builder.rb
def apply_collection_deposit_permissions(_permission_types, _ability = current_ability)
        collection_ids = collection_ids_for_deposit
        return [] if collection_ids.empty?
        ["{!terms f=id}#{collection_ids.join(',')}"]
      end
# Include all admin sets and collections the user has deposit permission for.
# @return [Array{String}] values are lucence syntax term queries suitable for :fq
Include all admin sets and collections the user has deposit permission for.
Include all admin sets and collections the user has deposit permission for .
def apply_collection_deposit_permissions(_permission_types, _ability = current_ability)
        collection_ids = collection_ids_for_deposit
        return [] if collection_ids.empty?
        ["{!terms f=id}#{collection_ids.join(',')}"]
      end
def apply_collection_deposit_permissions ( _permission_types , _ability = current_ability ) collection_ids = collection_ids_for_deposit return [ ] if collection_ids . empty? [ "{!terms f=id}#{collection_ids.join(',')}" ] end
Include all admin sets and collections the user has deposit permission for.
Include all admin sets and collections the user has deposit permission for .
values are lucence syntax term queries suitable for :fq
values are lucence syntax term queries suitable for : fq
Array{String}
_permission_types
_ability
current_ability