Skip to content

Fill restrictions field based on existence of restriction #34

Description

@APS-PaulSutherland

After the creation of a new staff user role (who will be able to see restricted materials but not requiring admin), we will be uploading restricted materials with these scripts.

Currently the existence of Conditions Governing Access (CGA) note in an ArchivesSpace sheet just sends a warning to the terminal. For our purposes I propose to fill a default value if there is a CGA note, or "Restricted Audio" value if audio (if I did not already do this).

Caveats:

  • Our CGA notes are not robust. They are variously formatted and labeled and often they are not even present as CGA notes (but as other note types). One day we can clean this up and make a more nuanced implementation.
  • The user should be prompted to check that the restriction note is valid.
  • CGA notes inherit in ArchivesSpace PUI but this inheritance is not part of a child record. Therefore, this will still miss some restrictions. The user should be reminded of this.
  • IIRC, DACS actually wants CGA notes globally, which we do not do. Our implementation of this might not match other institutions' needs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions