Change useUserTenantPermissions to return permissions from _self endpoints
Description
Environment
Potential Workaround
Attachments
clones
Checklist
hideActivity
Yauhen Viazau December 4, 2024 at 4:20 PM
Tested on https://bugfest-ramsons-consortium.int.aws.folio.org/, https://eureka-bugfest-ramsons-consortium.int.aws.folio.org/ - works as expected
users-keycloak/_self
calls are made for each tenant on Eurekabl-users/_self
calls are made for each tenant on Okapi
See examples:

Denys Bohdan November 25, 2024 at 11:13 AM
Hi , with the issues described in I’d like to ask to review this ticket as well, so that new approach doesn’t break functionality in Sunflower release
Yauhen Viazau November 22, 2024 at 10:48 AMEdited
Re-tested on https://folio-etesting-snapshot-consortium.ci.folio.org/, https://folio-testing-sprint-cs00000int.ci.folio.org/ - works as expected
Testing approach suggested by Aidyn.
When viewing shared instance records in Inventory on Central, Member tenants:
users-keycloak/_self
calls are made for each tenant on Eurekabl-users/_self
calls are made for each tenant on Okapi
See examples:
Yauhen Viazau November 21, 2024 at 9:26 AM
Tested on https://folio-etesting-snapshot-consortium.ci.folio.org/ - issue found
When opening a shared instance for view, users-keycloak/_self
call is being made but it yields 404 response with such body:
See examples:
Please note the error pop-ups and other failed requests in the video are due to
- please review/fix

Aidyn Zhakizhanov November 19, 2024 at 8:21 AM
This ticket should solve EUREKA-137 issue, specifically first case in the ticket
Details
Details
Assignee

Reporter

Summary: If
users-keycloak
interface is present useusers-keycloak/_self
endpoint; otherwisebl-users/_self