No edit option for shared MARC bib/authority in Member tenant

Description

Overview: No edit option for shared MARC bib/authority in Member tenant

Preconditions: shared MARC bib/authority records exist in the system (note: all MARC records imported in Central tenant will be shared)

Scenario 1

Steps to reproduce:

  1. Open ECS dry run LoC environment URL in browser

  2. Select Central tenant on tenant selection screen

  3. Login with valid credentials for a user having:

    1. affiliation in both Central and at least one Member tenant

    2. admin permissions in both Central and at least one Member tenant

  4. Click on user profile in top navigation menu → Select “Switch active affiliation“ option

  5. Select Member tenant (to which a user is affiliated) in appeared modal → Click “Save” in modal

  6. Go to “Inventory” app

  7. Select “Yes” option in “Shared” accordion on first pane

  8. Select “MARC“ option in “Source“ accordion on first pane

  9. Click on the title of any found record in second pane

  10. In third pane, click “Actions“ button

Expected result: “Edit MARC bibliographic“ option is shown in expanded menu

Actual result: “Edit MARC bibliographic“ option is NOT shown in expanded menu

Scenario 2

Steps to reproduce:

  1. Open ECS dry run LoC environment URL in browser

  2. Select Central tenant on tenant selection screen

  3. Login with valid credentials for a user having:

    1. affiliation in both Central and at least one Member tenant

    2. admin permissions in both Central and at least one Member tenant

  4. Click on user profile in top navigation menu → Select “Switch active affiliation“ option

  5. Select Member tenant (to which a user is affiliated) in appeared modal → Click “Save” in modal

  6. Go to “MARC authority” app

  7. Select “Yes” option in “Shared” accordion on first pane

  8. Click on the heading of any found record in second pane

  9. In third pane, click “Actions“ button

Expected result: “Edit“, “Delete“ options are shown in expanded menu

Actual result: “Edit“, “Delete“ options are NOT shown in expanded menu

Additional information:

  • Also reproducible on https://folio-etesting-snapshot-consortium.ci.folio.org/

  • Issue is also reproducible for shared FOLIO records in Member tenants

  • Issue is also reproducible for authority files in Settings-Marc authority-Manage authority files (there are no edit or delete buttons from member tenant, see screenshot)

  • Edit option is shown for shared records in Central tenant, local records in Member tenants

  • In example on screencast, a user having affiliations and all existing capabilities/sets in Central and Congressional tenants was used. The same is reproducible for a user having KeyCloak System role assigned in both tenants

  • See screencasts:

 

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

13
  • 04 Dec 2024, 12:05 PM
  • 04 Dec 2024, 12:05 PM
  • 29 Nov 2024, 04:24 PM
  • 29 Nov 2024, 04:03 PM
  • 29 Nov 2024, 07:25 AM
  • 29 Nov 2024, 07:25 AM
  • 28 Nov 2024, 05:52 PM
  • 04 Nov 2024, 07:21 AM
  • 23 Jul 2024, 08:42 AM
  • 04 Jun 2024, 03:12 PM
  • 04 Jun 2024, 03:12 PM
  • 14 Mar 2024, 08:42 AM

Checklist

hide

Activity

Show:

Yauhen Viazau December 4, 2024 at 12:05 PM

Tested on https://eureka-bugfest-ramsons-consortium.int.aws.folio.org/ - works as expected

Edit option is available and functional.

Oleksii Petrenko December 4, 2024 at 9:45 AM

Please retest after Stripes core update

Natalia Zaitseva December 3, 2024 at 1:32 PM

should be fixed after

Yauhen Viazau December 2, 2024 at 6:02 PM
Edited

Yauhen Viazau November 29, 2024 at 4:24 PM

Tested on https://eureka-bugfest-ramsons-consortium.int.aws.folio.org/ - issue still active

  1. Edit option is not shown for shared marc instances. See example:

Several _self calls are being made. Note that the last one does not have expandPermissions=true parameter, and therefore returns response with different structure.

Also a call to /perms/permissions is being made.

On etesting-snapshot all _self calls in such scenario have expandPermissions=true, and /perms/permissions is not called.

  1. Edit option also not shown for shared authorities. See example:

_self call is being made several times, each without expandPermissions=true

Also a call to /perms/permissions is being made.

, - please review

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Eureka

Fix versions

Release

Ramsons (R2 2024) Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 14, 2024 at 8:33 AM
Updated January 28, 2025 at 1:49 PM
Resolved December 4, 2024 at 9:44 AM
TestRail: Cases
TestRail: Runs