Batch Importer (Bib/Acq) (UXPROD-47)

[UIDATIMP-1193] Permission "Data import: all permissions" is missing permission "data-import.fileExtensions.get" Created: 16/Jun/22  Updated: 04/Apr/23  Resolved: 22/Jun/22

Status: Closed
Project: ui-data-import
Components: None
Affects versions: None
Fix versions: None
Parent: Batch Importer (Bib/Acq)

Type: Bug Priority: P3
Reporter: Lisa Sjögren Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: bug, data-import, epam-folijet, folijet-support, needs-testrail
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File image-2022-06-16-12-34-13-217.png    
Issue links:
Defines
defines UXPROD-3464 NFR: Data Import R2 2022 Morning Glor... Closed
Sprint:
Story Points: 0
Development Team: Folijet Support
Release: Morning Glory (R2 2022)
Affected Institution:
!!!ALL!!!
Epic Link: Batch Importer (Bib/Acq)
RCA Group: Implementation coding issue

 Description   

Overview: User with only permission Data Import: All cannot upload files in Data Import. The cause is a missing permission: data-import.fileExtensions.get

Steps to Reproduce:

  1. Log into Bugfest Lotus as a user with only permission Data Import: All
  2. Go to Data Import
  3. Click Choose files to upload a file
  4. Select an .mrc file from your computer and upload

Expected Results:
You are taken to the page where you select job profiles. A list of job profiles appears.

Actual Results:
You are taken to the page where you select job profiles. Instead of the list of job profiles, it just says "Loading..."

If you open developer tools, you see a failed GET request to

https://okapi-bugfest-lotus.int.aws.folio.org/data-import/fileExtensions?query=extension==%22.mrc%22

The message returned by the API is

Access requires permission: data-import.fileExtensions.get

Additional Information:
For now, you can manually add the permission "Data Import - get file extension(s)" to the user.

URL: https://bugfest-lotus.int.aws.folio.org/
Interested parties:



 Comments   
Comment by Ann-Marie Breaux (Inactive) [ 16/Jun/22 ]

Hi Lisa Sjögren Hmm.... I haven't heard that one before. I'll try to repro. In general, users of DI should have these 2 basic permissions:

  • Data import: Can upload files, import, and view logs (this is the new name for Data import: All permissions as of Morning Glory)
  • Settings (Data import): Can view, create, edit, and remove

Since one is the settings permission, maybe that was masking the issue with the DI: All permission. And for DI users who should be able to see settings, but not change them, we're adding a new permission in MG: Settings (Data import): Can view only

Comment by Ann-Marie Breaux (Inactive) [ 16/Jun/22 ]

I'm thinking this does not need to be a Lotus hotfix, but document in the Lotus release notes as a known issue, and make sure it's fixed in MG. Does that sound right to you?

Comment by Lisa Sjögren [ 20/Jun/22 ]

Sounds good!

Comment by Oleksandr Hladchenko [ 22/Jun/22 ]

Hi Lisa Sjögren Ann-Marie Breaux ! I checked this issue and in scope of MG it was fixed.

Comment by Ann-Marie Breaux (Inactive) [ 22/Jun/22 ]

Thanks very much, Oleksandr Hladchenko. I added to the Lotus release notes, and am closing this issue as "Won't do" (for Lotus)

Generated at Thu Feb 08 22:22:37 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.