Problem/Motivation

We will need a settings form to administer the module.

Acceptance Criteria

This list is incomplete. The issue is blocked until this list is fully defined

  1. This issue does no require the form to have any effect other than saving and editing configuration
  2. This form should live at the path 'admin/dkan/archiver'
  3. visible to anyone with "administer dkan dataset archiver settings" permission
  4. add associated schema.yml
  5. contains the following settings:
    • archive individual dataset, checkbox, default off
    • archive by theme, checkbox, default off
    • archive by topic, checkbox, default off
    • archive private datasets (these would be separate archives and visible only be specific permission) checkbox default off
    • create annual archives, checkbox, default off
    • Create local archives in default/files/dkan_archives/ checkbox default on
      • Retention years [integer field] only shows if State of ^^ is on. (empty is no limit)
    • Create archives externally checkbox default off
      • aws S3 storage location, optional, should only show & required if State of checkbox ^^ is on.
      • Retention years [integer field] only shows if State of ^^ is on. (empty is no limit)
    • include manifiest file in archive, checkbox default on
    • ...

Testing steps

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

swirt created an issue. See original summary.

swirt’s picture

Issue summary: View changes
swirt’s picture

Issue summary: View changes
swirt’s picture

Issue summary: View changes
swirt’s picture

Title: Create module setting form » Create module settings form
Issue summary: View changes
swirt’s picture

Issue summary: View changes
swirt’s picture

Issue summary: View changes

swirt’s picture

Assigned: Unassigned » swirt
Status: Active » Fixed
swirt’s picture