Delete Shared MARC authority record

Description

 Purpose: In a consortium environment, authority control may be managed centrally and shared to member libraries. These authority records need to be discoverable by member libraries and available for linking. Libraries may need to delete the records and these updates should be reflected in both shared Instances and local Instances.

Requirements

  • Allow user to delete a Shared MARC authority record with permissions in the central tenant

  • Mechanism to delete any links between the Shared MARC authority record and:

    • Central tenant SRS MARC Bib & Instance

    • Shadow Instances in member tenants

    • Local SRS MARC bibs and Local Instances

  • -Confirmation modal counter to include any linked MARC bib record - both shared and local, regardless of tenant- will be handled in https://folio-org.atlassian.net/browse/UIMARCAUTH-312 ; for now link count will only include shared and records local to the tenant

Scenarios:

  1. Scenario - delete from central tenant:

    • Given the tenant is in a consortium environment and the user is viewing a Shared MARC authority record AND the user has the "MARC Authority: Delete MARC authority record" permission in the central tenant

    • When the user selects "Delete" from the MARC authority app Actions menu

    • Then the MARC authority record should be deleted from the central tenant

  2. Scenario - confirmation message deleted:

    • Given the user has deleted the Shared the MARC authority record and the record that is linked to a MARC bib record (shared or local, regardless of tenant)

    • When the central tenant MARC authority record is deleted

    • Then the MARC authority app should appear AND a confirmation message is displayed that says "MARC authority record X has been deleted"

  3. Scenario - break links:

  •  

    • Given the tenant is in a consortium environment and the MARC authority record has been deleted

    • When the MARC authority record is deleted from the central tenant

    • Then links to that MARC authority record in any of the following records should be deleted:

      • Central tenant SRS MARC Bib & Instance

      • Shadow Instances in member tenants

      • Local SRS MARC bibs and Local Instances

Environment

None

Potential Workaround

None

Attachments

9

Checklist

hide

TestRail: Results

Activity

Show:

Christine Schultz-Richert October 3, 2023 at 7:18 PM

Closing as done - however, will need to ensure that the field in the Local MARC bib record is unlinked when the linked Shared MARC authority record is deleted after https://folio-org.atlassian.net/browse/MODELINKS-119 

Valery_Pilko October 2, 2023 at 2:59 PM

Re-tested on https://folio-dev-spitfire-2nd-consortium.ci.folio.org/ 
Issue with counter of linked MARC bibs is fixed, see attached screencasts:

(reproduced issue on this screencast should be fixed in the scope of https://folio-org.atlassian.net/browse/MODELINKS-119#icft=MODELINKS-119 )

Valery_Pilko September 28, 2023 at 6:48 AM

Re-tested on https://folio-dev-spitfire-2nd-consortium.ci.folio.org/ 
Issue with counter of linked MARC bibs in "Confirm deletion of authority record" modal still reproduces, see attached screencast:

Dmytro Melnyshyn September 26, 2023 at 1:51 PM

Hi - Entries Links API does not always return the correct number of links.

Pavlo Smahin September 22, 2023 at 1:57 PM

Options:
1. Use number of titles from result list
2. Do a search by id request to member tenant 
3. Use count link endpoint: Entities Links API

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 15, 2023 at 3:14 PM
Updated October 3, 2023 at 7:18 PM
Resolved October 3, 2023 at 7:18 PM
TestRail: Cases
TestRail: Runs

Flag notifications