(ECS) "Share to all" option is not shown in "Actions" menu for authorization roles

Description

Steps to reproduce:

  1. Login to https://folio-etesting-snapshot-consortium.ci.folio.org/ as an admin

  2. Go to “Consortium manager“

  3. Select Central tenant in the dropdown (f.e., “Consortium”)

  4. Click on the name of any existing role in the second pane

    1. Role detailed view should open in the third pane

  5. Click on “Actions“ button in the third pane

Expected result: “Share to all“ option is shown in the expanded “Actions” menu

Actual result: “Share to all“ option is NOT shown in the expanded “Actions” menu

Additional details:

  • The following capabilities/sets (in Central tenant) should provide the ability to share a role in “Consortium manager”

    • Capability sets:

      • Data - UI-Consortia-Settings Consortium-Manager - View

      • Settings - UI-Authorization-Roles Settings Admin - View

      • Data - Consortia Sharing-Roles-All Item - Create

      • Procedural - UI-Consortia-Settings Consortium-Manager Share - Execute

      • Data - Consortia Sharing-Roles-All Item - Create

      Capabilities:

      • Data - UI-Consortia-Settings Consortium-Manager - View

      • Settings - UI-Authorization-Roles Settings Admin - View

      • Procedural - UI-Consortia-Settings Consortium-Manager Share - Execute

      • Data - Consortia Sharing-Roles-Capabilities Item - Create

      • Data - Consortia Sharing-Roles-Capability-Sets Item - Create

  • The capabilites/sets above are all a part of an “adminRole” assigned to an admin user in Central tenant

  • consortia.sharing-roles-all.item.post“ (for “Data - Consortia Sharing-Roles-All Item - Create“) is NOT shown in GET /users-keycloak/_self response when an admin user is logged in

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

7

Checklist

hide

Activity

Show:

Yauhen Viazau December 3, 2024 at 1:45 PM

Serhii_Nosko December 2, 2024 at 6:38 PM
Edited

Most of all it is not reproduced any more on etesting because that env is created from scratch every day so automatically all fixes are applied on this env every day.

I see that changes are made here https://github.com/folio-org/mod-roles-keycloak/pull/182/files are located in CapabilityEventProcessor that is invoked by CapabilityKafkaEventHandler, so on bugfest we need to trigger this capability processing from Kafka again, and need to consult with Eureka team how to do it.

Yauhen Viazau December 2, 2024 at 5:50 PM

Tested on https://eureka-bugfest-ramsons-consortium.int.aws.folio.org/ after the latest update - issue is still active

The following module version was deployed: mod-roles-keycloak-2.0.6

Serhii_Nosko December 2, 2024 at 1:17 PM

already started release of mod-roles-keycloak, so this module would be released soon with the fix

Yauhen Viazau December 2, 2024 at 1:14 PM

Tested on https://folio-etesting-snapshot-consortium.ci.folio.org/ - issue is not reproducible

Share option is available for not shared role in Central tenant in Consortium manager, and a role can be shared. See examples:

Issue is still active on Eureka R BF ECS environment. The update still needs to be released/deployed/tested there.

cc:

Cannot Reproduce

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Eureka

Fix versions

Release

Ramsons (R2 2024) Bug Fix

RCA Group

Not a bug anymore

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 1, 2024 at 9:06 AM
Updated January 28, 2025 at 1:51 PM
Resolved December 2, 2024 at 1:14 PM
TestRail: Cases
TestRail: Runs