Fix issues with matching Folio permissions to Eureka capabilities/sets

Description

Capabilities and capability sets now have “permission“ attribute which has value equal to “permissionName“ value of corresponding Folio permission. This allows for direct matching between Folio permissions to Eureka capabilities/sets.

But for some permissions, corresponding capabilities/sets cannot be found using this approach.

Scope:

  1. Find all permissions for which capabilities/sets cannot be found by using mapping approach when capability/set is found by permission attribute equal to permissionName attribute of Folio permission. Module descriptors for each module can be used to get all actual valid and usable permissions.

  2. Fix issues with matching permissions to capabilities/sets.

Acceptance criteria:

All Folio permissions can be matched to either capability of capability set granting a user the same abilities as original Folio permission

Additional info:

  • Resolving issues with permission-capability matching is a pre-requisite for starting work on updating Cypress test framework to assign appropriate capabilities/sets to each test user (currently, an admin user is used to run auto-tests on Eureka environments)

  • Attached a file with permissionNames for which capabilities/sets were not found using approach described above (only permissions currently used in Cypress E2E tests were used) - for this file, LoC Phase 2 Sandbox 2 dry run (FSE/INT) (non-ECS) environment was used (on February 19th)

  • Attached a file with problematic matchings from https://folio-org.atlassian.net/browse/MODROLESKC-154 (presumably, contains all entries unmatched due to duplicates). According to information from developers, for this file, LoC Phase 2 Sandbox 2 dry run (FSE/INT) environment was used (on February 15th)

 

Environment

None

CSP Request Details

None

CSP Rejection Details

None

Estimation Notes and Assumptions

None

RCA Group Details

None

Potential Workaround

None

Attachments

3
  • 15 Apr 2024, 10:04 AM
  • 19 Mar 2024, 02:09 PM
  • 19 Mar 2024, 02:09 PM

Checklist

hide

Activity

Show:

Craig McNallyAugust 26, 2024 at 12:11 PM

OK I’m going to close this as done then, and if we need to file additional stores/bugs as things come up we can

Yauhen ViazauAugust 26, 2024 at 8:19 AM

- Yes. The ticket was originally opened to highlight the fact that some capabilities could not be found for existing permissions though. The hope was that the developers could identify why this happens, as well as find all unmatched permissions and fix the issues. AFAIK at least some of this work has been done (not sure how much).
I believe we can raise the issues with absent capabilities/sets for existing permissions on case by case basis now. For example - https://folio-org.atlassian.net/browse/EUREKA-219

Craig McNallyAugust 23, 2024 at 7:01 PM

I believe we can close this now that the “can I haz capabilities” utility has been implemented, right?

Yauhen ViazauApril 15, 2024 at 10:05 AM
Edited

Added latest list of unmatched capabilities/sets based on permissions currently used in Cypress test framework (as of April 15):

 

Done

Details

Assignee

Reporter

Development Team

Eureka

RCA Group

TBD

Story Points

Sprint

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 19, 2024 at 2:08 PM
Updated August 30, 2024 at 11:17 AM
Resolved August 26, 2024 at 12:11 PM
TestRail: Cases
TestRail: Runs

Flag notifications