Error moving request: "Access requires permission: circulation.rules.loan-policy.get"

Description

This came up when testing

Steps to repro:

  1. As diku_admin, I created a new user with "Requests: Move to new item, reorder queue" and o "Requests: View, edit, cancel"

  2. I then created a page request for an ABA journal item for requester Denesik

  3. I then checked out a different ABA journal item and then added 2 new requests for that item

  4. Then I logged out and logged in as my new user

  5. I went to Requests and opened the request for Denesik

  6. I selected Move request and picked the item that had the 2 other requests on it

  7. I was asked if I wanted to change the request to a recall or hold and I picked recall (I don't think this is relevant here, TBH)

Expected: Request should move and the Reorder queue page should open and I should be able to reorder queue

Actual:

  • Got error

  • Closed error and tried again

  • Got an error this time saying that the requester already had a request for that item which was weird because it didn't look like the request had actually moved before

  • Refreshed page and saw that, in fact, Denesik's request had been moved

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Cate Boerema January 8, 2020 at 10:29 AM

This passed test in bugfest

Cate Boerema January 6, 2020 at 2:10 PM

Marc Johnson January 6, 2020 at 8:50 AM

Will you be able to create a bugfix release for it?

Yes, I am working on it now, see [FOLIO-2415]

Cate Boerema January 6, 2020 at 8:23 AM

Thank you so much for fixing this ! I am not seeing any permission errors anymore. This can be closed and included in the Q4 release. Will you be able to create a bugfix release for it?

Marc Johnson January 3, 2020 at 8:44 PM

Well, I think I fixed the first permission issue, and encountered another, for the calendar calendar.opening-hours.collection.get

Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Prokopovych

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 3, 2020 at 5:30 PM
Updated January 28, 2020 at 3:56 PM
Resolved January 6, 2020 at 8:23 AM
TestRail: Cases
TestRail: Runs