Skip to content

Research possibility or practice to require uploads on per-type basis #34

@seanupton

Description

@seanupton

Determine whether it is possible, out of the box, or with some minor modifications to configure the requirement of uploads to be flagged on a per-work-type basis.

Currently, Hyrax has a config.work_requires_files boolean that affects all types in config/initializers/hyrax.rb — but this may be too coarse grained for systems storing multiple (possibly related, possibly not) work types that may or may not require an upload.

Use cases

  1. An aggregate work that is not a collection, e.g. a Newspaper Publication has descriptive metadata, but may have child issues associated. It may make sense for this to be modeled as a work, not a collection, and as such, its children may require file uploads, but it should not.
  2. A system may store something like a catalog entry for a physical item such as a book or curated object that has no digital representation, and a library may want to store this in the same repository as digital works, such as images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions