Sha256: dcaf7e60bd5020660890ff1678f0236fb3e278609db90edeb8c00912449cc28d
Contents?: true
Size: 1.52 KB
Versions: 9
Compression:
Stored size: 1.52 KB
Contents
# windows doesn't properly require hydra-head (from the gemfile), so we need to require it explicitly here: require 'hydra/head' unless defined? Hydra Hydra.configure do |config| # This specifies the solr field names of permissions-related fields. # You only need to change these values if you've indexed permissions by some means other than the Hydra's built-in tooling. # If you change these, you must also update the permissions request handler in your solrconfig.xml to return those values # # config.permissions.discover.group = ActiveFedora::SolrService.solr_name("discover_access_group", :symbol) # config.permissions.discover.individual = ActiveFedora::SolrService.solr_name("discover_access_person", :symbol) # config.permissions.read.group = ActiveFedora::SolrService.solr_name("read_access_group", :symbol) # config.permissions.read.individual = ActiveFedora::SolrService.solr_name("read_access_person", :symbol) # config.permissions.edit.group = ActiveFedora::SolrService.solr_name("edit_access_group", :symbol) # config.permissions.edit.individual = ActiveFedora::SolrService.solr_name("edit_access_person", :symbol) # # config.permissions.embargo.release_date = ActiveFedora::SolrService.solr_name("embargo_release_date", :stored_sortable, type: :date) # config.permissions.lease.expiration_date = ActiveFedora::SolrService.solr_name("lease_expiration_date", :stored_sortable, type: :date) # # # specify the user model # config.user_model = '#{model_name.classify}' end
Version data entries
9 entries across 9 versions & 1 rubygems