Hide version history icon and settings if audit log feature is disabled

Description

Overview: For the version history feature, there is the ability to disable the logging of changes as well as the ability to view the version history pane. We need to hide the version history icon when the feature is disabled.

Requirements:

  • If the audit log feature is disabled, hide the change history icon for the view source of both MARC bibs and MARC authority records

  • If the audit log feature is disabled, hide the Cards per page configuration settings

Environment

None

Potential Workaround

None

Attachments

3
  • 04 Mar 2025, 12:31 PM
  • 04 Mar 2025, 12:31 PM
  • 04 Mar 2025, 12:31 PM

Checklist

hide

Activity

Show:

Valery_Pilko March 4, 2025 at 4:26 PM

Found issues (ECS scenarios) will be addressed in the scope of https://folio-org.atlassian.net/browse/UIMARCAUTH-463

Valery_Pilko March 4, 2025 at 12:31 PM

Verified on Eureka Sprint testing environment:

  1. Non-ecs scenario - works as expected.

2025-03-04_15-36-20.mp4
  1. ECS scenario 1: Audit log is disabled from Central tenant - doesn’t work as expected.
    Expectation is following: If feature is disabled from Central tenant (but enabled on Member) - then “Version history” button must be displayed only for Local MARC authority records.

    2025-03-04_16-16-55.mp4


    See thread https://folio-project.slack.com/archives/C05QX3Q3C4D/p1739806965900649

  2. ECS scenario 2: Audit log is disabled from Member tenant - doesn’t work as expected.
    Expectation is following: If feature is disabled from Member tenant (but enabled on Central) - then “Version history” button must be displayed only for Shared MARC authority records opened from Central and Member tenants.

    2025-03-04_16-27-01.mp4

    Question for : how “Cards per page configuration settings” should behave in this case?

Valery_Pilko February 26, 2025 at 9:35 AM

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Release

Sunflower (R1 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 12, 2025 at 1:53 PM
Updated March 5, 2025 at 9:19 PM
Resolved March 5, 2025 at 9:19 PM
TestRail: Cases
TestRail: Runs

Flag notifications