A user with certain permission can not create planned budget

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
}

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

Add all finance permissions to user.

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges August 8, 2022 at 9:46 PM

Test successful in bugfest-mg

Dennis Bridges July 25, 2022 at 3:09 PM

Test successful in folio-snapshot.

NinaChistova July 25, 2022 at 10:27 AM

could you please review?

NinaChistova July 18, 2022 at 7:46 AM
Edited

Tested on https://folio-snapshot.dev.folio.org/

Works as expected

Waiting for verifying on https://bugfest-mg.int.aws.folio.org/ when changes will be available

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Morning Glory (R2 2022) Bug Fix

RCA Group

Missing module permission

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 15, 2022 at 10:39 AM
Updated August 8, 2022 at 9:46 PM
Resolved July 25, 2022 at 3:09 PM
Loading...