spec/internal/config/initializers/hydra_config.rb in fcrepo_admin-0.2.3 vs spec/internal/config/initializers/hydra_config.rb in fcrepo_admin-0.2.4
- old
+ new
@@ -28,7 +28,8 @@
:read => {:group =>ActiveFedora::SolrService.solr_name("inheritable_read_access_group", indexer), :individual=>ActiveFedora::SolrService.solr_name("inheritable_read_access_person", indexer)},
:edit => {:group =>ActiveFedora::SolrService.solr_name("inheritable_edit_access_group", indexer), :individual=>ActiveFedora::SolrService.solr_name("inheritable_edit_access_person", indexer)},
:owner => ActiveFedora::SolrService.solr_name("inheritable_depositor", indexer),
:embargo_release_date => ActiveFedora::SolrService.solr_name("inheritable_embargo_release_date", Solrizer::Descriptor.new(:date, :stored, :indexed))
}
+ config[:permissions][:policy_class] = AdminPolicy
end
end