Sha256: d74a720b82e9589c84fd9b894303dcbc38def46e98c503884c497031dc1a0154

Contents?: true

Size: 1.6 KB

Versions: 30

Compression:

Stored size: 1.6 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::SolrQueryBuilder.solr_name("discover_access_group", :symbol)
  # config.permissions.discover.individual  = ActiveFedora::SolrQueryBuilder.solr_name("discover_access_person", :symbol)
  # config.permissions.read.group           = ActiveFedora::SolrQueryBuilder.solr_name("read_access_group", :symbol)
  # config.permissions.read.individual      = ActiveFedora::SolrQueryBuilder.solr_name("read_access_person", :symbol)
  # config.permissions.edit.group           = ActiveFedora::SolrQueryBuilder.solr_name("edit_access_group", :symbol)
  # config.permissions.edit.individual      = ActiveFedora::SolrQueryBuilder.solr_name("edit_access_person", :symbol)
  #
  # config.permissions.embargo.release_date  = ActiveFedora::SolrQueryBuilder.solr_name("embargo_release_date", :stored_sortable, type: :date)
  # config.permissions.lease.expiration_date = ActiveFedora::SolrQueryBuilder.solr_name("lease_expiration_date", :stored_sortable, type: :date)
  #
  #
  # Specify the user model
  # config.user_model = 'User'

  config.user_key_field = Devise.authentication_keys.first
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
hyrax-5.0.1 .koppie/config/initializers/hydra_config.rb
hyrax-5.0.0 .koppie/config/initializers/hydra_config.rb
hyrax-5.0.0.rc3 .koppie/config/initializers/hydra_config.rb
hyrax-5.0.0.rc2 .koppie/config/initializers/hydra_config.rb
hyrax-5.0.0.rc1 .koppie/config/initializers/hydra_config.rb
hyrax-4.0.0 .koppie/config/initializers/hydra_config.rb
hyrax-4.0.0.rc3 .koppie/config/initializers/hydra_config.rb
hyrax-4.0.0.rc2 .koppie/config/initializers/hydra_config.rb
hyrax-4.0.0.rc1 .koppie/config/initializers/hydra_config.rb
hyrax-4.0.0.beta2 .koppie/config/initializers/hydra_config.rb
zizia-6.0.1 spec/dummy/config/initializers/hydra_config.rb
zizia-6.0.0 spec/dummy/config/initializers/hydra_config.rb
zizia-5.5.0 spec/dummy/config/initializers/hydra_config.rb
zizia-5.4.0 spec/dummy/config/initializers/hydra_config.rb
zizia-5.3.0 spec/dummy/config/initializers/hydra_config.rb
zizia-5.2.0 spec/dummy/config/initializers/hydra_config.rb
zizia-5.1.0 spec/dummy/config/initializers/hydra_config.rb
zizia-5.0.1 spec/dummy/config/initializers/hydra_config.rb
zizia-5.0.0 spec/dummy/config/initializers/hydra_config.rb
zizia-4.6.0.alpha.01 spec/dummy/config/initializers/hydra_config.rb