Uploaded image for project: 'mod-finance'
  1. mod-finance
  2. MODFIN-263

A user with certain permission can not create planned budget

    XMLWordPrintable

Details

    • ACQ Sprint 144
    • 1
    • Thunderjet
    • Morning Glory R2 2022 Bug Fix
    • Add all finance permissions to user.
    • Missing module permission

    Description

      Overview:

      Error message appears when a user with certain permission is trying to create planned budget

      Preconditions:

      1. User with permission "Finance: View, edit, create fund and budget" is logged in
      2. The upcoming fiscal year "XXXX" is created
      3. The upcoming fiscal year "XXXY" is created
      4. The ledger "XX" is created
      5. The Fund "X" is created
      6. Fund X is related to the Ledger XX that is related to "upcoming" fiscal years XXXX and XXXY
      7. A user is on "Fund" pane with search result for created Fund

      Steps to Reproduce:

      1. Click on the Fund from Preconditions item #5
      2. Add planned Budget related to Fiscal Year XXXX (Expand "Planned budget" accordion>Click "New" button)
      3. Specify "Fiscal year" field as "XXXX" from Preconditions, "Status" field with "Planned" value, "Allocated" field - with any valid amount (f.e. $4000) and click "Save" button

      Expected Results: 

      • System notifies that "Budget is successfully created for Fund X"
      • User is directed to the newly created "Budget" details pane
      • Newly created Budget related to Fiscal Year XXXX for Fund X is available

      Actual Results:

      • Error message "Budget has not been created" appears
      • "Planned budget" dialog is open
      • Budget has not been created

      Additional Information:
      URL: https://bugfest-mg.int.aws.folio.org/

      Response:

      {
        "errors" : [

      {     "message" : "Access for user 'nchistova1' (2ee6b880-86f0-4840-acf2-3c66b358c817) requires permission: finance-storage.budget-expense-classes.collection.get",     "code" : "genericError",     "parameters" : [ ]   }

      ],
        "total_records" : 1
      }

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                dennisbridges Dennis Bridges
                Nina Chistova Nina Chistova
                Nina Chistova Nina Chistova
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases