Running "remove deprecated perms" API - required permission missing

Description

 

In a Folio environment at Juniper hotfix6, or upgraded to Kiwi hotfix2 - running the "remove deprecated perms" API call gives an error in the UI when viewing an Organization or User in the Folio UI:

This permission no longer exists in the system (I checked "invisible" ones too). This happens when ran on a Juniper hotfix6 instance, or on an instance upgraded from Juniper hotfix6 to Kiwi hotfix2.

This was the command I ran to remove the deprecated perms:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

jroot January 6, 2023 at 5:13 PM

We're on Lotus HF3 right now, and I did not bother to run the "purge deprecated perms" command when I upgraded our live system. I spoke with about this some a while back, and I believe he recommended just not running it as it can cause more trouble than it's worth.

(OLD ACCOUNT) Erin Nettifee December 13, 2022 at 5:33 PM
Edited

It looks like this issue is still present - if you look at the API docs for /note-types, it lists note.types.collection.get as a required permission:

https://github.com/folio-org/mod-notes/blob/0f8306b07b4fe15903c8e6eaf46a0829ce582c5b/descriptors/ModuleDescriptor-template.json#L81

But as far as I can tell it's still defined in the module, so how did it get marked as deprecated in Juniper or Kiwi? Hmmmmm.

Do you still have this issue? What version are you all running in production right now?

Ann-Marie Breaux April 19, 2022 at 7:19 AM

Hi and No dev team assigned to this bug, so I added Core Platform, per the matrix. Please adjust if that's not correct. Thank you!

Details

Assignee

Reporter

Priority

Development Team

Core: Platform

RCA Group

TBD

Affected Institution

TAMU

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 15, 2022 at 1:44 PM
Updated January 6, 2023 at 5:13 PM
TestRail: Cases
TestRail: Runs