Skip to content

v2.0.0 - Invasion of the Interest Group

Compare
Choose a tag to compare
@orangewolf orangewolf released this 10 Oct 16:01

This release includes cleanup and new features post hydra-in-a-box grant work. This updates the base Hyrax to 2.3

See https://github.com/samvera/hyrax/releases for information on the underlying Hyrax updates between 2.0 and 2.3

Default Collection Types

An existing app will have to run a generator to add the pre-defined collection types: user_collection and admin_set

rails hyrax:default_collection_types:create

NOTE: db:migrate must be run before running the generator for default collection types.

Collection Migration

Fedora/Solr Collection Model

CE adds one property to Collections model... collection_type_gid, which identifies the type (RDF::Vocab::SCHEMA.additionalType) of each collection. The gid is generated based on the collection type id (e.g. gid://internal/hyrax-collectiontype/:id).

Migration Process

The migration process performs two updates for every collection...

store the User Collection gid as the collection type for all legacy collections
add a Permission Template and set Accesses based on sharing information in the legacy collection
NOTE: Solr and Fedora services need to be running when this script is called.

rails hyrax:migrate:add_collection_type_and_permissions_to_collections