Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-1214

missing perm. for check-out-by-barcode.post (impacts notices)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 22.0.5
    • Labels:
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Prokopovych - Sprint 123, Prokopovych - Sprint 124, Prokopovych - Sprint 125, Prokopovych - Sprint 126
    • Story Points:
      1
    • Development Team:
      Prokopovych
    • Release:
      R2 2021 Hot Fix #3
    • Hot Fix Approved by Cap Planning?:
      Yes
    • Affected Institution:
      BNCF, Chalmers, Cornell, Okanagan College

      Description

      Overview:

       
      When an item is checked out by a user logged in with 'light' circulation permissions (who doesn't explicitly have the circulation-storage.patron-notice-policies.item.get) permission, an error occurs and notices are not created for the loan.
       
      Error from juniper bugfest log:
      19:56:25 [371043/circulation;143451/patron-notice-policy-storage] [fs00001067] [ed92ef96-ef55-431c-a05d-69633b9fcb5c] [mod-authtoken] ERROR MainVerticle......(user permissions) nor ["SYS#mod-circulation-20.1.7#/circulation/check-out-by-barcode#[POST]"|#mod-circulation-20.1.7#/circulation/check-out-by-barcode#[POST]"](module permissions) do not contain circulation-storage.patron-notice-policies.item.get
      ERROR MainVerticle Access requires permission: circulation-storage.patron-notice-policies.item.get
       

      Steps to Reproduce:

      • Log into juniper as a user that has not explicitly been assigned the circulation-storage.patron-notice-policies.item.get permission.  I created a user on juniper bugfest (username: zdoe) with the "Circulation Bug Fest" permission set for testing this.
      • Checkout an item using a combination of patron/item that will trigger notices created (to be sent later - like courtesy notices)
        • I used patron 0000048387 and item barcode 123412341234123 

      Expected Results:

      Notices should be created.

      You can verify with

      https://okapi-bugfest-juniper.folio.ebsco.com/scheduled-notice-storage/scheduled-notices?query=(metadata.createdDate="2021-09-10")

      Actual Results:

      Notices are not being created.

      *If you execute this test logged in with 'folio' username the notices will be created because of the permissions the 'folio' user has.

       

      Additional Information:
      URL:
      Interested parties:
      Okanagan

       

        TestRail: Results

          Attachments

          1. 2021-10-28_7-27-41.png
            2021-10-28_7-27-41.png
            72 kB
          2. log-1.csv
            13 kB
          3. log-2.csv
            375 kB

            Issue Links

              Activity

                People

                Assignee:
                zburke Zak_Burke
                Reporter:
                msuranofsky Michelle Suranofsky
                Tester Assignee:
                Michelle Suranofsky Michelle Suranofsky
                Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases