Sha256: 36d96d7edb5248e39a695d5c2408f664967bdf147e6ac51da10e81066d7b50ba

Contents?: true

Size: 1.56 KB

Versions: 23

Compression:

Stored size: 1.56 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 = '#{model_name.classify}'
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
hydra-core-9.7.1 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.7.0 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.6.0 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.5.0 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.4.1 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.4.0 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.3.0 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.2.2 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.2.1 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.2.0 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.2.0.rc1 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.1.4 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.1.3 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.1.2 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.1.1 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.1.0 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.0.1 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.0.0 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.0.0.rc3 lib/generators/hydra/templates/config/initializers/hydra_config.rb
hydra-core-9.0.0.rc2 lib/generators/hydra/templates/config/initializers/hydra_config.rb