lib/hydra/permissions_solr_document.rb in hydra-access-controls-6.3.3 vs lib/hydra/permissions_solr_document.rb in hydra-access-controls-6.3.4

- old
+ new

@@ -8,9 +8,10 @@ end false end def is_public? + ActiveSupport::Deprecation.warn("Hydra::PermissionsSolrDocument.is_public? has been deprecated. Use can? instead.") access_key = ActiveFedora::SolrService.solr_name("access", Hydra::Datastream::RightsMetadata.indexer) self[access_key].present? && self[access_key].first.downcase == "public" end